 InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9 = {}; InfoBox_e54fa040f3aa64d6d29c632235e6687c = 35; ModuleSlot_Config = nil; InfoBox_0027b0cd193bc161e643499b8f62067d = { "Background", }; InfoBox_cf529d6ac7648fc66f6a0b105dfe7b45 = { "Text", }; InfoBox_33d1d63006cc0a4d5aa43c241be8fc17 = { "ResizeTopLeftTexture", "ResizeTopRightTexture", "ResizeBottomLeftTexture", "ResizeBottomRightTexture", "ResizeTopTexture", "ResizeBottomTexture", "ResizeLeftTexture", "ResizeRightTexture" }; if ( not InfoBox_d9697eeda87eabe23796b67b987c5b66 ) then InfoBox_d9697eeda87eabe23796b67b987c5b66 = {}; end InfoBox_d9697eeda87eabe23796b67b987c5b66["GameMenuFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["OptionsFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["SoundOptionsFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["UIOptionsFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["CharacterFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["InspectFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["ItemTextFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["SpellBookFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["LootFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["TaxiFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["QuestFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["QuestLogFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["ClassTrainerFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["TradeSkillFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["MerchantFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["TradeFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["BankFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["FriendsFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["SuggestFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["CraftFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["WorldMapFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["KeyBindingFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["CinematicFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["TabardFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["GuildRegistrarFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["PetitionFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["HelpFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["MacroFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["GossipFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["MailFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["BattlefieldFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["TalentFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["PetStableFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["AuctionFrame"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["GameTooltip"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["Minimap"] = 1.0; InfoBox_d9697eeda87eabe23796b67b987c5b66["KeyRingButton"] = 1.0; MODULESLOT_LOCKALL = 1; InfoBox_9892e021667ceaf02a0adc91d3dccbdc = 0.15; InfoBox_e4f20a49999f5b02dbdae5db8cdec4af = 0.15; InfoBox_a907d034bb113e555a8e9c69d7f6214a = 0; StaticPopupDialogs["RESTORE_THEME"] = { text = TEXT(MODULE_SLOT_INFO_RESTORE_THEME), button1 = TEXT(YES), button2 = TEXT(CANCEL), OnAccept = function(self) InfoBox_e9ea20d74d86c3bcab26e9d2aac1f0ad(); end, showAlert = 1, timeout = 0, }; StaticPopupDialogs["DELETE_THEME"] = { text = TEXT(MODULE_SLOT_DELETE_THEME), button1 = TEXT(YES), button2 = TEXT(CANCEL), OnAccept = function(self) if ( StaticPopupDialogs["DELETE_THEME"].theme ) then ModuleSlotManager_DeleteTheme(StaticPopupDialogs["DELETE_THEME"].theme) ModuleSlot_Report("info", MODULE_SLOT_INFO_DELETE_THEME, StaticPopupDialogs["DELETE_THEME"].theme); StaticPopupDialogs["DELETE_THEME"].theme = nil; end end, showAlert = 1, timeout = 0, }; StaticPopupDialogs["REPLACE_THEME"] = { text = TEXT(MODULE_SLOT_REPLACE_THEME), button1 = TEXT(YES), button2 = TEXT(CANCEL), OnAccept = function(self) if ( StaticPopupDialogs["REPLACE_THEME"].theme ) then ModuleSlotManager_SaveTheme(StaticPopupDialogs["REPLACE_THEME"].theme) ModuleSlot_Report("info", MODULE_SLOT_INFO_SAVE_THEME_SUCCEED, StaticPopupDialogs["REPLACE_THEME"].theme); StaticPopupDialogs["REPLACE_THEME"].theme = nil; end end, showAlert = 1, timeout = 0, }; StaticPopupDialogs["NAME_THEME"] = { text = TEXT(MODULE_SLOT_NAME_THEME), button1 = TEXT(ACCEPT), button2 = TEXT(CANCEL), hasEditBox = 1, maxLetters = 31, whileDead = 1, OnAccept = function(self) local name = self.editBox:GetText(); if ( ModuleSlotManager_IsThemeExist(name) ) then StaticPopupDialogs["REPLACE_THEME"].theme = name; StaticPopup_Show("REPLACE_THEME", name); else ModuleSlotManager_SaveTheme(name); ModuleSlot_Report("info", MODULE_SLOT_INFO_SAVE_THEME_SUCCEED, name); end end, timeout = 0, EditBoxOnEnterPressed = function(self) local name = self.editBox:GetText(); if ( ModuleSlotManager_IsThemeExist(name) ) then StaticPopupDialogs["REPLACE_THEME"].theme = name; StaticPopup_Show("REPLACE_THEME", name); else ModuleSlotManager_SaveTheme(name); ModuleSlot_Report("info", MODULE_SLOT_INFO_SAVE_THEME_SUCCEED, name); end self:GetParent():Hide(); end, EditBoxOnEscapePressed = function (self) self:GetParent():Hide(); end }; function InfoBox_ec5c2c68d4565e0da618642ee28639c1(InfoBox_4c5e2a6c497f2639f1590edb13036a7d) local InfoBox_6e4d0db7491d6883f86de390d20dbe5b, InfoBox_a2f3972c23a0aa3bd7fb0e9823d918f2, InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_8b227d0350467199526e8c4b146b1dfe = string.find(InfoBox_4c5e2a6c497f2639f1590edb13036a7d, "(%w+)%s+(.*)"); local InfoBox_141587de7c89f51a57fa0de35161817a = {}; InfoBox_141587de7c89f51a57fa0de35161817a.SetWidth = true; if (InfoBox_8b227d0350467199526e8c4b146b1dfe and InfoBox_8b227d0350467199526e8c4b146b1dfe ~= "") then if (string.find(InfoBox_8b227d0350467199526e8c4b146b1dfe, "|!SetWidth|")) then InfoBox_141587de7c89f51a57fa0de35161817a.SetWidth = nil; end else InfoBox_141587de7c89f51a57fa0de35161817a = nil; end if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) then return getglobal(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a), InfoBox_141587de7c89f51a57fa0de35161817a; else return getglobal(InfoBox_4c5e2a6c497f2639f1590edb13036a7d); end end function InfoBox_2a1a344bfece04902544a45816428e00(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_f9da61d0483af6cef16512c8cc1a8586) if ( not InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586] ) then return; end if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then local InfoBox_f5cb07751fccdf339be4192634943a73 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then if ( InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then InfoBox_d683a0dd0516c16e3bcea1a96dc25f91(InfoBox_8d0febf2348ea712b2b375ae95601d5f); end InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 = InfoBox_f9da61d0483af6cef16512c8cc1a8586; InfoBox_26b1779745c20ee76d8f20d6565e29d1.module = InfoBox_f9da61d0483af6cef16512c8cc1a8586; if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf ) then InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_5059665d25de845079032324c2617d4c = InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_c5920112f281fb8a00496feff73b89fc; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_730c9835e5520175bcc5f42c24fd4f1f = 1; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_bb06531ae495552df519745079d4f7f3 = 9999; end InfoBox_f5cb07751fccdf339be4192634943a73:SetWidth(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_aacf928ffa23e474a000b1b6292d02a9); InfoBox_f5cb07751fccdf339be4192634943a73:SetHeight(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_ba70ac59c8a4b2cc67cf63223c84b656); if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e78d229014c7a07be65fde4797b92c86 ~= INFOBOX_CATEGORY_INFOTIP ) then local InfoBox_12e49080c26b8b9fdea4fa8965254f05 = getglobal(InfoBox_f5cb07751fccdf339be4192634943a73:GetName().."Text"); if ( InfoBox_12e49080c26b8b9fdea4fa8965254f05 ) then end else local InfoBox_12e49080c26b8b9fdea4fa8965254f05 = getglobal(InfoBox_f5cb07751fccdf339be4192634943a73:GetName().."Text"); if ( InfoBox_12e49080c26b8b9fdea4fa8965254f05 ) then InfoBox_12e49080c26b8b9fdea4fa8965254f05:SetText(""); end end if (InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_368ca88db2692f7a6b8d49e0a494fca3) then InfoBox_26b1779745c20ee76d8f20d6565e29d1.hideBackground = 1; InfoBox_26b1779745c20ee76d8f20d6565e29d1.disableShowBackground = 1; InfoBox_f5cb07751fccdf339be4192634943a73.hasBeenFaded = 1; InfoBox_f5cb07751fccdf339be4192634943a73.oldBackAlpha = 0.0; InfoBox_f5cb07751fccdf339be4192634943a73.oldBorderAlpha = 0.0; else InfoBox_26b1779745c20ee76d8f20d6565e29d1.disableShowBackground = nil; end InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_91f32deddbb8710fd941b684b1de8e6c = 1; if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_04945e5814d7f994b52aa86c2de2b82f ) then InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_04945e5814d7f994b52aa86c2de2b82f(InfoBox_f5cb07751fccdf339be4192634943a73); end ModuleSlotManager_SetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_26b1779745c20ee76d8f20d6565e29d1); ModuleSlotManager_UpdateManifist(InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283 ) then local index; for index = 1, getn(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283), 1 do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_b2c23ab16b0644a1e9658bc5c6a4fea9 = InfoBox_ec5c2c68d4565e0da618642ee28639c1(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283[index]); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlot_MaskFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_b2c23ab16b0644a1e9658bc5c6a4fea9); end end end end end end function InfoBox_c78eaae15a7c292464a323fbf46084ad(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_f9da61d0483af6cef16512c8cc1a8586) local InfoBox_8d0febf2348ea712b2b375ae95601d5f = ModuleSlot_FindModuleID(InfoBox_f9da61d0483af6cef16512c8cc1a8586); if ( not InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then InfoBox_8d0febf2348ea712b2b375ae95601d5f = ModuleSlot_FindNextValidSlot(); if ( not InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then return; end end if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then local InfoBox_e18d4ea9e37be4577815ef966057d987 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_e18d4ea9e37be4577815ef966057d987 ) then local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetDefaultConfig(); ModuleSlotManager_SetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_26b1779745c20ee76d8f20d6565e29d1); ModuleSlot_ShowWithDefaultPos(InfoBox_e18d4ea9e37be4577815ef966057d987); InfoBox_2a1a344bfece04902544a45816428e00(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_f9da61d0483af6cef16512c8cc1a8586); end end local InfoBox_f5cb07751fccdf339be4192634943a73 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_f5cb07751fccdf339be4192634943a73 and InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); InfoBox_26b1779745c20ee76d8f20d6565e29d1.fullHide = 1; InfoBox_f5cb07751fccdf339be4192634943a73.fullHide = 1; if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_bbdc0542fafdb66853ad1551ab96f042 ) then InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_bbdc0542fafdb66853ad1551ab96f042(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_b04250ec4cf47812276932ff52fee3d4); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_b04250ec4cf47812276932ff52fee3d4) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(InfoBox_2361bab8b48b1041ad740bb561b21aee); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlot_MaskShowFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_91f32deddbb8710fd941b684b1de8e6c = 2; end InfoBox_f5cb07751fccdf339be4192634943a73:Hide(); ModuleSlotManager_SetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_26b1779745c20ee76d8f20d6565e29d1); end end function InfoBox_8e7beb64e603f5fb620042afb77d6296(InfoBox_f9da61d0483af6cef16512c8cc1a8586) local InfoBox_8d0febf2348ea712b2b375ae95601d5f = ModuleSlot_FindModuleID(InfoBox_f9da61d0483af6cef16512c8cc1a8586); if ( not InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then return; end local InfoBox_f5cb07751fccdf339be4192634943a73 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_f5cb07751fccdf339be4192634943a73 and InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then InfoBox_f5cb07751fccdf339be4192634943a73.fullHide = nil; if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_d303e85119122d2a63eeb3e2c1f783b4) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(InfoBox_2361bab8b48b1041ad740bb561b21aee); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlot_UnmaskShowFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_d303e85119122d2a63eeb3e2c1f783b4); end InfoBox_f5cb07751fccdf339be4192634943a73:Show(); InfoBox_d683a0dd0516c16e3bcea1a96dc25f91(InfoBox_8d0febf2348ea712b2b375ae95601d5f); InfoBox_f5cb07751fccdf339be4192634943a73:Hide(); end end function InfoBox_b3fd90937b778adaf6882291a0a86847(InfoBox_6824803b0018349a6b6f3594f444f9b1) local __index; for __index = 1, InfoBox_e54fa040f3aa64d6d29c632235e6687c, 1 do local InfoBox_f5cb07751fccdf339be4192634943a73 = getglobal("ModuleSlot"..__index); if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then if ( InfoBox_f5cb07751fccdf339be4192634943a73.fullHide ) then InfoBox_8e7beb64e603f5fb620042afb77d6296(InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586); elseif ( InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then if ( InfoBox_6824803b0018349a6b6f3594f444f9b1 ) then ModuleSlot_CloseWindow(nil, __index); else InfoBox_d683a0dd0516c16e3bcea1a96dc25f91(__index); end end end end end function InfoBox_d683a0dd0516c16e3bcea1a96dc25f91(InfoBox_8d0febf2348ea712b2b375ae95601d5f) if ( not InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then return; end local InfoBox_f5cb07751fccdf339be4192634943a73 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_730c9835e5520175bcc5f42c24fd4f1f = nil; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_5059665d25de845079032324c2617d4c = nil; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = nil; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_bb06531ae495552df519745079d4f7f3 = nil; local InfoBox_f9da61d0483af6cef16512c8cc1a8586 = InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 = nil; InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_6230e23f021dec637edabaa368556c06 = nil; InfoBox_26b1779745c20ee76d8f20d6565e29d1.module = nil; if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586] ) then InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_91f32deddbb8710fd941b684b1de8e6c = 0; if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283 ) then local index; for index = 1, getn(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283), 1 do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_8b227d0350467199526e8c4b146b1dfe = InfoBox_ec5c2c68d4565e0da618642ee28639c1(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283[index]); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlot_UnmaskFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetScale(1.0); end end end local InfoBox_12e49080c26b8b9fdea4fa8965254f05 = getglobal(InfoBox_f5cb07751fccdf339be4192634943a73:GetName().."Text"); if ( InfoBox_12e49080c26b8b9fdea4fa8965254f05 ) then InfoBox_12e49080c26b8b9fdea4fa8965254f05:SetText(""); end ModuleSlotManager_ResetDefaultManifist(InfoBox_8d0febf2348ea712b2b375ae95601d5f, 1); if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 ) then InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_52b3cd609d9fc1b9f3811ae59327dc06(InfoBox_f5cb07751fccdf339be4192634943a73); end end end local InfoBox_f0036f8e03b983c435ab072c321bb65d = tonumber(InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_f0036f8e03b983c435ab072c321bb65d and ModuleSlot_Config["default"] ) then ModuleSlot_Config["default"][InfoBox_f0036f8e03b983c435ab072c321bb65d] = nil; end end function InfoBox_d9d0697b807a5eb90bf993b27ba2d646(InfoBox_f9da61d0483af6cef16512c8cc1a8586, InfoBox_6230e23f021dec637edabaa368556c06) if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586] ) then if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(InfoBox_2361bab8b48b1041ad740bb561b21aee); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetName() == "BonusActionBar") then if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize) then InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = true; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetScale(InfoBox_6230e23f021dec637edabaa368556c06); InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize["scale"] = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetScale(); end else if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetScale ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:slotSetScale(InfoBox_6230e23f021dec637edabaa368556c06); else InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetScale(InfoBox_6230e23f021dec637edabaa368556c06); end end end end end end local InfoBox_8d0febf2348ea712b2b375ae95601d5f = ModuleSlot_FindModuleID(InfoBox_f9da61d0483af6cef16512c8cc1a8586); if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then local InfoBox_f5cb07751fccdf339be4192634943a73 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_6230e23f021dec637edabaa368556c06 = InfoBox_6230e23f021dec637edabaa368556c06; if ( ModuleSlot_Config["default"][InfoBox_8d0febf2348ea712b2b375ae95601d5f] ) then ModuleSlot_Config["default"][InfoBox_8d0febf2348ea712b2b375ae95601d5f].scale = InfoBox_6230e23f021dec637edabaa368556c06; end end end function InfoBox_95d43b69138291288b93ddd6eff2da99(InfoBox_f9da61d0483af6cef16512c8cc1a8586) if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586] ) then if ( InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(InfoBox_2361bab8b48b1041ad740bb561b21aee); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then return InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetScale(); end end end end end function InfoBox_e745f43ed1306833fbf98e1906969a6c(self, InfoBox_73b215e0d0b817b4c834cad97b4a10b5) if ( (self and self.value) or InfoBox_73b215e0d0b817b4c834cad97b4a10b5 ) then local InfoBox_396244e29c66c1192496f935403a4ee1; local InfoBox_8e472a6cc9210c695fafcc64d6c32787 = {}; if ( InfoBox_73b215e0d0b817b4c834cad97b4a10b5 == "default" ) then InfoBox_2d153585ae5f6b9a605b2306af4370ba(InfoBox_8e472a6cc9210c695fafcc64d6c32787, ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5]); InfoBox_b3fd90937b778adaf6882291a0a86847(); InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5], InfoBox_8e472a6cc9210c695fafcc64d6c32787); else InfoBox_b3fd90937b778adaf6882291a0a86847(); end if ( not InfoBox_73b215e0d0b817b4c834cad97b4a10b5 ) then ModuleSlotManager_LoadTheme(self.value); InfoBox_396244e29c66c1192496f935403a4ee1 = self.value; else ModuleSlotManager_LoadTheme(InfoBox_73b215e0d0b817b4c834cad97b4a10b5); InfoBox_396244e29c66c1192496f935403a4ee1 = InfoBox_73b215e0d0b817b4c834cad97b4a10b5; end local useUiScale = GetCVar("useUiScale"); local uiScale = GetCVar("uiscale"); if ( ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1] and ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings and ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings.useUiScale and (useUiScale ~= ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings.useUiScale or (ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings.useUiScale=="1" and uiScale ~= ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings.uiscale)) ) then SetCVar("uiscale", ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings.uiscale); SetCVar("useUiScale", ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].settings.useUiScale); end ModuleSlotManager_UpdateUI(); if ( ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1] and ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].chatFrames ) then ModuleSlotManager_UpdateFCFbyConfig(ModuleSlot_Config[InfoBox_396244e29c66c1192496f935403a4ee1].chatFrames); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end MODULESLOT_LOCKALL = 1; InfoBoxButtonUnlockWindow:Hide(); InfoBoxButtonLockWindow:Show(); local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetThemeConfig(InfoBox_396244e29c66c1192496f935403a4ee1); ModuleSlot_Report("info", MODULE_SLOT_INFO_LOAD_SUCCESS, InfoBox_396244e29c66c1192496f935403a4ee1); if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1.comment and self.value ~= "default" ) then ModuleSlot_Report("info", InfoBox_26b1779745c20ee76d8f20d6565e29d1.comment, ""); end end BCloseDropDownMenus(); end function InfoBox_de38a1f7dafb52d3175ac3fcebdd87fe(self) if ( not self.value ) then return; end if ( self.value ~= "" ) then StaticPopupDialogs["REPLACE_THEME"].theme = self.value; StaticPopup_Show("REPLACE_THEME", self.value); else StaticPopup_Show("NAME_THEME"); end BCloseDropDownMenus(); end function InfoBox_946d4b61c4339cbe60494dbd9340783c(self) if ( self.value ) then StaticPopupDialogs["DELETE_THEME"].theme = self.value; StaticPopup_Show("DELETE_THEME", self.value); end BCloseDropDownMenus(); end function InfoBox_2b337488118495846710eb006f99ce64(self) local InfoBox_f5cb07751fccdf339be4192634943a73 = ModuleSlot_GetCurrentSlot(); if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then InfoBox_2a1a344bfece04902544a45816428e00(InfoBox_f5cb07751fccdf339be4192634943a73:GetID(), self.value); end BCloseDropDownMenus(); end function InfoBox_4b76c0310efe1254069293b17d87c4a6(self) local InfoBox_f5cb07751fccdf339be4192634943a73 = ModuleSlot_GetCurrentSlot(); if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then InfoBox_d683a0dd0516c16e3bcea1a96dc25f91(InfoBox_f5cb07751fccdf339be4192634943a73:GetID()); end end function InfoBox_62e2cdae2f5ad65f705a7c5b58f2e477(self) StaticPopup_Show("RESTORE_THEME"); end function ModuleSlotDropDown_OnLoad(self) BDropDownMenu_Initialize(self, InfoBox_574e41ac0c1dab77e2f350b0b9bff41f, "MENU"); BDropDownMenu_SetButtonWidth(self, 50); BDropDownMenu_SetWidth(self, 50); end function ModuleSlot_OnUpdate(self, InfoBox_9a2474218860c0816af6c2bfe48d200a) if ( self.InfoBox_730c9835e5520175bcc5f42c24fd4f1f and self.InfoBox_bb06531ae495552df519745079d4f7f3 ) then self.InfoBox_bb06531ae495552df519745079d4f7f3 = self.InfoBox_bb06531ae495552df519745079d4f7f3 + InfoBox_9a2474218860c0816af6c2bfe48d200a; if ( self.InfoBox_bb06531ae495552df519745079d4f7f3 > self.InfoBox_5059665d25de845079032324c2617d4c ) then self.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf(self); self.InfoBox_bb06531ae495552df519745079d4f7f3 = 0; end end if ( self.InfoBox_f9da61d0483af6cef16512c8cc1a8586 and self.scaleScale and self.scaling ) then local InfoBox_aacf928ffa23e474a000b1b6292d02a9 = self:GetWidth(); local InfoBox_ba70ac59c8a4b2cc67cf63223c84b656 = self:GetHeight(); local InfoBox_28f04d4154ba35d9893830d14d5590b1 = InfoBox_aacf928ffa23e474a000b1b6292d02a9/self.scaleWidth; local InfoBox_55dcfb90e4597e879b209f3ac23a0267 = InfoBox_ba70ac59c8a4b2cc67cf63223c84b656/self.scaleHeight; local InfoBox_6230e23f021dec637edabaa368556c06 = math.min(InfoBox_28f04d4154ba35d9893830d14d5590b1, InfoBox_55dcfb90e4597e879b209f3ac23a0267); local InfoBox_af185ca8d8f3a008687a1265cbafdb06 = self.scaleScale * InfoBox_6230e23f021dec637edabaa368556c06; InfoBox_d9d0697b807a5eb90bf993b27ba2d646(self.InfoBox_f9da61d0483af6cef16512c8cc1a8586, InfoBox_af185ca8d8f3a008687a1265cbafdb06); return; end if ( self.InfoBox_f9da61d0483af6cef16512c8cc1a8586 and self.InfoBox_6230e23f021dec637edabaa368556c06 and InfoBox_95d43b69138291288b93ddd6eff2da99(self.InfoBox_f9da61d0483af6cef16512c8cc1a8586) == UIParent:GetScale() ) then InfoBox_d9d0697b807a5eb90bf993b27ba2d646(self.InfoBox_f9da61d0483af6cef16512c8cc1a8586, self.InfoBox_6230e23f021dec637edabaa368556c06); end end function ModuleSlot_GetCurrentSlot() local InfoBox_228f887124487f7bef2e07196719ef51 = getglobal("ModuleSlot"..BDropDownMenu_GetCurrentDropDown():GetParent():GetParent():GetID()); return InfoBox_228f887124487f7bef2e07196719ef51; end function ModuleSlot_CommandLock(self) local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); if ( BDropDownMenuButton_GetChecked(self) ) then config.locked = 1; else config.locked = nil; end ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_GetValidSlotCount() local i; local count = 0; for i = 1, InfoBox_e54fa040f3aa64d6d29c632235e6687c, 1 do local moduleSlot = getglobal("ModuleSlot"..i); if ( moduleSlot and moduleSlot:IsVisible() ) then count = count + 1; end end return count; end function ModuleSlot_FindNextValidSlot() for i = 1, InfoBox_e54fa040f3aa64d6d29c632235e6687c, 1 do local moduleSlot = getglobal("ModuleSlot"..i); if ( moduleSlot and not moduleSlot.InfoBox_f9da61d0483af6cef16512c8cc1a8586) then return i; end end end function ModuleSlot_GetUsedCount() return InfoBox_e54fa040f3aa64d6d29c632235e6687c - ModuleSlot_GetValidSlotCount(); end function ModuleSlot_CloseWindow(self, InfoBox_8d0febf2348ea712b2b375ae95601d5f) local InfoBox_b2bdc7b8bc198bafa8e7a186419e2042; if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then InfoBox_e18d4ea9e37be4577815ef966057d987 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); else InfoBox_e18d4ea9e37be4577815ef966057d987 = ModuleSlot_GetCurrentSlot(); end if ( InfoBox_e18d4ea9e37be4577815ef966057d987 ) then local id = InfoBox_e18d4ea9e37be4577815ef966057d987:GetID(); InfoBox_d683a0dd0516c16e3bcea1a96dc25f91(id); InfoBox_e18d4ea9e37be4577815ef966057d987:Hide(); local config = ModuleSlotManager_GetSlotConfig(id); config.show = nil; ModuleSlotManager_SetSlotConfig(id, config); end end function ModuleSlot_ShowWithDefaultPos(slot) if ( slot ) then slot:ClearAllPoints(); slot:SetPoint("TOPLEFT", "UIParent", "CENTER", 0, 0); slot:Show(); if ( not MODULESLOT_LOCKALL and MODULESLOT_SHOWALL ) then local tab = getglobal(slot:GetName().."Tab"); tab:Show(); end local id = slot:GetID(); local config = ModuleSlotManager_GetSlotConfig(id); config.show = 1; ModuleSlotManager_SetSlotConfig(id, config); end end function ModuleSlot_CreateWindow(self) local id = ModuleSlot_FindNextValidSlot(); if ( id ) then local moduleSlot = getglobal("ModuleSlot"..id); if ( moduleSlot ) then local config = ModuleSlotManager_GetDefaultConfig(); ModuleSlotManager_SetSlotConfig(id); ModuleSlot_ShowWithDefaultPos(moduleSlot); end end BCloseDropDownMenus(); end function ModuleSlot_CommandModule(self) if ( ModuleSlot_MenuLocation == INFOBOX_MENU_NEW_WINDOW ) then ModuleSlot_CreateWindowWithModule(self); elseif ( ModuleSlot_MenuLocation == INFOBOX_MENU_SETUP_MODULE ) then InfoBox_2b337488118495846710eb006f99ce64(self); end ModuleSlot_MenuLocation = nil; end function ModuleSlot_CreateWindowWithModule(self) local InfoBox_8d0febf2348ea712b2b375ae95601d5f = ModuleSlot_FindNextValidSlot(); if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then local InfoBox_e18d4ea9e37be4577815ef966057d987 = getglobal("ModuleSlot"..InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( InfoBox_e18d4ea9e37be4577815ef966057d987 ) then local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetDefaultConfig(); ModuleSlotManager_SetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); ModuleSlot_ShowWithDefaultPos(InfoBox_e18d4ea9e37be4577815ef966057d987); InfoBox_2a1a344bfece04902544a45816428e00(InfoBox_8d0febf2348ea712b2b375ae95601d5f, self.value); end end BCloseDropDownMenus(); end function ModuleSlot_HideBackground(self) local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); if ( BDropDownMenuButton_GetChecked(self) ) then config.hideBackground = 1; else config.hideBackground = nil; end ModuleSlotManager_SetSlotConfig(id, config); moduleSlot.hasBeenFaded = 1; end end end function ModuleSlotTabDropDown_OnLoad(self) BDropDownMenu_Initialize(self, ModuleSlotTabDropDown_Initialize, "MENU"); BDropDownMenu_SetButtonWidth(self, 50); BDropDownMenu_SetWidth(self, 50); end function ModuleSlot_FindModuleID(InfoBox_f9da61d0483af6cef16512c8cc1a8586) local __index; for __index = 1, InfoBox_e54fa040f3aa64d6d29c632235e6687c, 1 do local InfoBox_e18d4ea9e37be4577815ef966057d987 = getglobal("ModuleSlot"..__index); if ( InfoBox_e18d4ea9e37be4577815ef966057d987 and InfoBox_e18d4ea9e37be4577815ef966057d987.InfoBox_f9da61d0483af6cef16512c8cc1a8586 == InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then return __index; end end end function ModuleSlot_CheckLinkStats(InfoBox_26b1779745c20ee76d8f20d6565e29d1, InfoBox_f9da61d0483af6cef16512c8cc1a8586) local InfoBox_8d0febf2348ea712b2b375ae95601d5f = ModuleSlot_FindModuleID(InfoBox_f9da61d0483af6cef16512c8cc1a8586); if ( not InfoBox_26b1779745c20ee76d8f20d6565e29d1.link ) then InfoBox_26b1779745c20ee76d8f20d6565e29d1.link = {}; end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1.link[InfoBox_8d0febf2348ea712b2b375ae95601d5f] ) then return 1; end end function ModuleSlot_CommandLink(self) local InfoBox_f5cb07751fccdf339be4192634943a73 = ModuleSlot_GetCurrentSlot(); if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then local InfoBox_8d0febf2348ea712b2b375ae95601d5f = tonumber(InfoBox_f5cb07751fccdf339be4192634943a73:GetID()); if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); local InfoBox_9cb14dadc90409455bc8f2d0d4be9a6e = ModuleSlot_FindModuleID(self.value); if ( not InfoBox_26b1779745c20ee76d8f20d6565e29d1.link ) then InfoBox_26b1779745c20ee76d8f20d6565e29d1.link = {}; end if ( BDropDownMenuButton_GetChecked(self) ) then InfoBox_26b1779745c20ee76d8f20d6565e29d1.link[InfoBox_9cb14dadc90409455bc8f2d0d4be9a6e] = 1; else InfoBox_26b1779745c20ee76d8f20d6565e29d1.link[InfoBox_9cb14dadc90409455bc8f2d0d4be9a6e] = nil; end ModuleSlotManager_SetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f, InfoBox_26b1779745c20ee76d8f20d6565e29d1); end end end function ModuleSlot_CommandHide(self) if ( self.value ) then if ( BDropDownMenuButton_GetChecked(self) ) then InfoBox_c78eaae15a7c292464a323fbf46084ad(nil, self.value); else InfoBox_8e7beb64e603f5fb620042afb77d6296(self.value); end end end function ModuleSlotTabDropDown_Initialize() local InfoBox_f5cb07751fccdf339be4192634943a73 = ModuleSlot_GetCurrentSlot(); if ( not InfoBox_f5cb07751fccdf339be4192634943a73 ) then return; end local InfoBox_8d0febf2348ea712b2b375ae95601d5f = tonumber(InfoBox_f5cb07751fccdf339be4192634943a73:GetID()); if ( not InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then return; end local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( BDROPDOWNMENU_MENU_LEVEL == 3 ) then local InfoBox_cbea5024589fda649523e61061c3aec5 = InfoBox_0d89cfe87803d80e9d95edf65f1537f6(0); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_cbea5024589fda649523e61061c3aec5) do if ( BDROPDOWNMENU_MENU_VALUE == __index ) then for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(0, __index)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CommandModule; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); end end end return; end if ( BDROPDOWNMENU_MENU_LEVEL == 2 ) then if ( BDROPDOWNMENU_MENU_VALUE == INFOBOX_MENU_LINK_WINDOW ) then local InfoBox_d83e8de8fbba1504f3f7c10694175b9c = InfoBox_2483c9268979de1b2d24a2e49a088699(1); if ( InfoBox_d83e8de8fbba1504f3f7c10694175b9c > 0 ) then local InfoBox_e78d229014c7a07be65fde4797b92c86, InfoBox_8e472a6cc9210c695fafcc64d6c32787; for InfoBox_e78d229014c7a07be65fde4797b92c86, InfoBox_8e472a6cc9210c695fafcc64d6c32787 in pairs(InfoBox_0d89cfe87803d80e9d95edf65f1537f6(1)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_e78d229014c7a07be65fde4797b92c86; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(1, InfoBox_e78d229014c7a07be65fde4797b92c86)) do if ( __index ~= InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.checked = ModuleSlot_CheckLinkStats(InfoBox_26b1779745c20ee76d8f20d6565e29d1, __index); InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.keepShownOnClick = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CommandLink; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); end end end end return; end if ( BDROPDOWNMENU_MENU_VALUE == INFOBOX_MENU_SETUP_MODULE ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_MODULE_TITLE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); ModuleSlot_MenuLocation = INFOBOX_MENU_SETUP_MODULE; local InfoBox_d83e8de8fbba1504f3f7c10694175b9c = InfoBox_2483c9268979de1b2d24a2e49a088699(0); if ( InfoBox_d83e8de8fbba1504f3f7c10694175b9c > 0 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_0d89cfe87803d80e9d95edf65f1537f6(0)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasArrow = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); end end local InfoBox_684dfb5c920a3e93463526415af0c738 = InfoBox_4e01ee0e72eb35f8d55d14d7e29168a1(0); if ( InfoBox_684dfb5c920a3e93463526415af0c738 > 0 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(0)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CommandPlug; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); end end if ( InfoBox_684dfb5c920a3e93463526415af0c738 <= 0 and InfoBox_d83e8de8fbba1504f3f7c10694175b9c <= 0 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_NO_MODULE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notClickable = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.disabled = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); end return; end return; end InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_WINDOWS_TITLE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_LOCK_WINDOW; if ( InfoBox_f5cb07751fccdf339be4192634943a73 and InfoBox_26b1779745c20ee76d8f20d6565e29d1.locked ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.checked = 1; end InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.keepShownOnClick = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CommandLock; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_CLOSE_WINDOW; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CloseWindow; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1.module ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_ADVANCE_WINDOWS_TITLE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); if ( InfoBox_90d03eefa2a17e4e101e44874c879999(InfoBox_26b1779745c20ee76d8f20d6565e29d1.module) > 0 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_LINK_WINDOW; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasArrow = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end if ( not InfoBox_26b1779745c20ee76d8f20d6565e29d1.disableShowBackground ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_MANIFIST_TITLE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end if ( not InfoBox_26b1779745c20ee76d8f20d6565e29d1.disableShowBackground ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_BACK_COLOR; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasColorSwatch = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.r = InfoBox_26b1779745c20ee76d8f20d6565e29d1.backColor.r; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.g = InfoBox_26b1779745c20ee76d8f20d6565e29d1.backColor.g; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.b = InfoBox_26b1779745c20ee76d8f20d6565e29d1.backColor.b InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.opacity = 1 - InfoBox_26b1779745c20ee76d8f20d6565e29d1.backColor.a; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.swatchFunc = ModuleSlot_SetWindowBackColor; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = BDropDownMenuButton_OpenColorPicker; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasOpacity = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.opacityFunc = ModuleSlot_SetWindowBackOpacity; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.cancelFunc = ModuleSlot_CancelWindowBackColorSettings; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_BORDER_COLOR; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasColorSwatch = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.r = InfoBox_26b1779745c20ee76d8f20d6565e29d1.borderColor.r; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.g = InfoBox_26b1779745c20ee76d8f20d6565e29d1.borderColor.g; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.b = InfoBox_26b1779745c20ee76d8f20d6565e29d1.borderColor.b InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.opacity = 1 - InfoBox_26b1779745c20ee76d8f20d6565e29d1.borderColor.a; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.swatchFunc = ModuleSlot_SetWindowBorderColor; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = BDropDownMenuButton_OpenColorPicker; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasOpacity = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.opacityFunc = ModuleSlot_SetWindowBorderOpacity; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.cancelFunc = ModuleSlot_CancelWindowBorderColorSettings; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_HIDE_BACKGROUND; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_HideBackground; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.keepShownOnClick = 1; if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1.hideBackground ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.checked = 1; end BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end local InfoBox_684dfb5c920a3e93463526415af0c738 = InfoBox_4e01ee0e72eb35f8d55d14d7e29168a1(0, "all"); if ( InfoBox_684dfb5c920a3e93463526415af0c738 > 0 or InfoBox_26b1779745c20ee76d8f20d6565e29d1.module ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_MODULE_TITLE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end if ( InfoBox_684dfb5c920a3e93463526415af0c738 > 0 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_SETUP_MODULE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasArrow = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end function ModuleSlot_SetWindowBorderColor() local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); local r,g,b = ColorPickerFrame:GetColorRGB(); ModuleSlot_SetBorderColor(moduleSlot, r, g, b) config.borderColor.r = r; config.borderColor.g = g; config.borderColor.b = b; ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_SetWindowBorderOpacity() local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); local alpha = 1.0 - OpacitySliderFrame:GetValue(); ModuleSlot_SetBorderColor(ModuleSlot_GetCurrentSlot(), nil, nil, nil, alpha); config.borderColor.a = alpha; ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_CancelWindowBorderColorSettings(previousValues) local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); if ( previousValues.r ) then ModuleSlot_SetBorderColor(ModuleSlot_GetCurrentSlot(), previousValues.r, previousValues.g, previousValues.b); config.borderColor.r = previousValues.r; config.borderColor.g = previousValues.g; config.borderColor.b = previousValues.b; end if ( previousValues.opacity ) then ModuleSlot_SetBorderColor(ModuleSlot_GetCurrentSlot(), nil, nil, nil, 1 - previousValues.opacity); config.borderColor.a = 1 - previousValues.opacity; end ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_SetWindowBackColor() local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); local r,g,b = ColorPickerFrame:GetColorRGB(); ModuleSlot_SetBackColor(moduleSlot, r, g, b) config.backColor.r = r; config.backColor.g = g; config.backColor.b = b; ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_SetWindowBackOpacity() local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); local alpha = 1.0 - OpacitySliderFrame:GetValue(); ModuleSlot_SetBackColor(ModuleSlot_GetCurrentSlot(), nil, nil, nil, alpha); config.backColor.a = alpha; ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_CancelWindowBackColorSettings(previousValues) local moduleSlot = ModuleSlot_GetCurrentSlot(); if ( moduleSlot ) then local id = tonumber(moduleSlot:GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); if ( previousValues.r ) then ModuleSlot_SetBackColor(ModuleSlot_GetCurrentSlot(), previousValues.r, previousValues.g, previousValues.b); config.backColor.r = previousValues.r; config.backColor.g = previousValues.g; config.backColor.b = previousValues.b; end if ( previousValues.opacity ) then ModuleSlot_SetBackColor(ModuleSlot_GetCurrentSlot(), nil, nil, nil, 1 - previousValues.opacity); config.backColor.a = 1 - previousValues.opacity; end ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlotTab_OnClick(self, button) if ( self:IsVisible() and self:GetAlpha() ~= 0 ) then PlaySound("UChatScrollButton"); if ( button == "RightButton" ) then BToggleDropDownMenu(1, nil, getglobal(self:GetName().."DropDown"), self:GetName(), 10, 3); PlaySound("UChatScrollButton"); return; end BCloseDropDownMenus(); end end function ModuleSlot_SetBackColor(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027, InfoBox_0f402d7ba502a47a51c410aee99b1ff1, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7, InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1) local InfoBox_8983c60d66c8593ec7165ea9dbedb584 = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetName(); for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_0027b0cd193bc161e643499b8f62067d) do if ( InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027 and InfoBox_0f402d7ba502a47a51c410aee99b1ff1 and InfoBox_a0a053cacf1c8c43346fdc3adb684cb7 ) then getglobal(InfoBox_8983c60d66c8593ec7165ea9dbedb584..InfoBox_2361bab8b48b1041ad740bb561b21aee):SetVertexColor(InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027, InfoBox_0f402d7ba502a47a51c410aee99b1ff1, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7); end if ( InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1 ) then getglobal(InfoBox_8983c60d66c8593ec7165ea9dbedb584..InfoBox_2361bab8b48b1041ad740bb561b21aee):SetAlpha(InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1); end end end function ModuleSlot_SetBorderColor(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027, InfoBox_0f402d7ba502a47a51c410aee99b1ff1, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7, InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1) local InfoBox_8983c60d66c8593ec7165ea9dbedb584 = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetName(); for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_33d1d63006cc0a4d5aa43c241be8fc17) do if ( InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027 and InfoBox_0f402d7ba502a47a51c410aee99b1ff1 and InfoBox_a0a053cacf1c8c43346fdc3adb684cb7 ) then getglobal(InfoBox_8983c60d66c8593ec7165ea9dbedb584..InfoBox_2361bab8b48b1041ad740bb561b21aee):SetVertexColor(InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027, InfoBox_0f402d7ba502a47a51c410aee99b1ff1, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7); end if ( InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1 ) then getglobal(InfoBox_8983c60d66c8593ec7165ea9dbedb584..InfoBox_2361bab8b48b1041ad740bb561b21aee):SetAlpha(InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1); end end end function ModuleSlotTab_OnMouseDown(self, InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5) if ( self:IsVisible() and self:GetAlpha() ~= 0 ) then if ( InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 == "LeftButton" and MODULESLOT_LOCKALL~=1 ) then local id = tonumber(self:GetParent():GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); self:GetParent():StartMoving(); if ( not IsShiftKeyDown() ) then local index; if ( not config.link ) then config.link = {}; end for index in pairs(config.link) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal("ModuleSlot"..index); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlot_DockFrame(self:GetParent(), InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end self:GetParent().resizing = 1; InfoBox_bcbe75ef515586e0877c204b87f986d2 = self; end end end end end function ModuleSlot_DockFrame(target, source) local InfoBox_8aaa40972b81249ac4103a8704181d5d = target:GetTop(); local InfoBox_664304c324a0619ba91aa98094c36833 = target:GetLeft(); local InfoBox_8e1cb898c467d87b6507484791431688 = source:GetTop(); local InfoBox_a599735e733fc1e90d864ccd41d44d00 = source:GetLeft(); local InfoBox_9f652eff74f4ab85c92761b518a48a56 = InfoBox_664304c324a0619ba91aa98094c36833 - InfoBox_a599735e733fc1e90d864ccd41d44d00; local InfoBox_ce7eff166556c4f00b1655de0278b678 = InfoBox_8aaa40972b81249ac4103a8704181d5d - InfoBox_8e1cb898c467d87b6507484791431688; source:ClearAllPoints(); source:SetPoint("TOPLEFT", target:GetName(), "TOPLEFT", -InfoBox_9f652eff74f4ab85c92761b518a48a56, -InfoBox_ce7eff166556c4f00b1655de0278b678); end function ModuleSlot_CancelDockFrame(source) local InfoBox_8aaa40972b81249ac4103a8704181d5d = source:GetTop(); local InfoBox_664304c324a0619ba91aa98094c36833 = source:GetLeft(); source:ClearAllPoints(); source:SetPoint("TOPLEFT", "UIParent", "BOTTOMLEFT", InfoBox_664304c324a0619ba91aa98094c36833, InfoBox_8aaa40972b81249ac4103a8704181d5d); end function ModuleSlotTab_OnMouseUp(self, InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5) if ( InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 == "LeftButton" ) then local id = tonumber(self:GetParent():GetID()); if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); self:GetParent():StopMovingOrSizing(); self:GetParent().resizing = nil; local msg = self:GetParent():GetWidth()..","..self:GetParent():GetHeight(); BigFoot_DelayCall(ModuleSlot_RefreshPosition, 1, self:GetParent()); local index; if ( not config.link ) then config.link = {}; end for index in pairs(config.link) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal("ModuleSlot"..index); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlot_CancelDockFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); BigFoot_DelayCall(ModuleSlot_RefreshPosition, 1, InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end InfoBox_bcbe75ef515586e0877c204b87f986d2 = nil; end end end function ModuleSlot_RefreshPosition(InfoBox_f5cb07751fccdf339be4192634943a73) if ( InfoBox_f5cb07751fccdf339be4192634943a73 ) then local id = tonumber(InfoBox_f5cb07751fccdf339be4192634943a73:GetID()); if (id) then local config = ModuleSlotManager_GetSlotConfig(id); config.width = InfoBox_f5cb07751fccdf339be4192634943a73:GetWidth(); config.height = InfoBox_f5cb07751fccdf339be4192634943a73:GetHeight(); config.left = InfoBox_f5cb07751fccdf339be4192634943a73:GetLeft(); config.top = InfoBox_f5cb07751fccdf339be4192634943a73:GetTop(); local uiscale = UIParent:GetScale(); config.top = config.top * uiscale; ModuleSlotManager_SetSlotConfig(id, config); end end end function ModuleSlot_Resize(self, InfoBox_bef6c12a4266a4e8b981b5032dd44107) local InfoBox_8d0febf2348ea712b2b375ae95601d5f = tonumber(self:GetParent():GetID()); if ( InfoBox_8d0febf2348ea712b2b375ae95601d5f ) then local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetSlotConfig(InfoBox_8d0febf2348ea712b2b375ae95601d5f); if ( not InfoBox_26b1779745c20ee76d8f20d6565e29d1.locked and not MODULESLOT_LOCKALL ) then self:GetParent():StartSizing(InfoBox_bef6c12a4266a4e8b981b5032dd44107); end end end function ModuleSlot_StopResize(self) self:GetParent():StopMovingOrSizing(); BigFoot_DelayCall(ModuleSlot_RefreshPosition, 1, self:GetParent()); end function ModuleSlot_BeginScale(self) local InfoBox_f5cb07751fccdf339be4192634943a73 = self:GetParent(); if ( InfoBox_f5cb07751fccdf339be4192634943a73 and InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 and not MODULESLOT_LOCKALL ) then InfoBox_f5cb07751fccdf339be4192634943a73.scaleWidth = InfoBox_f5cb07751fccdf339be4192634943a73:GetWidth(); InfoBox_f5cb07751fccdf339be4192634943a73.scaleHeight = InfoBox_f5cb07751fccdf339be4192634943a73:GetHeight(); InfoBox_f5cb07751fccdf339be4192634943a73.scaleScale = InfoBox_95d43b69138291288b93ddd6eff2da99(InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586); InfoBox_f5cb07751fccdf339be4192634943a73.scaling = 1; end end function ModuleSlot_EndScale(self) local InfoBox_f5cb07751fccdf339be4192634943a73 = self:GetParent(); if ( InfoBox_f5cb07751fccdf339be4192634943a73 and not MODULESLOT_LOCKALL ) then InfoBox_f5cb07751fccdf339be4192634943a73.scaling = nil; end end function InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea(InfoBox_f9da61d0483af6cef16512c8cc1a8586, InfoBox_e78d229014c7a07be65fde4797b92c86, InfoBox_e6955c64cf39bdb23dc86de1a9ec2117, InfoBox_58bf64b2530594f4163e4cd743249693, InfoBox_6e46ed1b8005e88885434f287702727e, InfoBox_aacf928ffa23e474a000b1b6292d02a9, InfoBox_ba70ac59c8a4b2cc67cf63223c84b656, InfoBox_368ca88db2692f7a6b8d49e0a494fca3, InfoBox_d3a65d55273767b5738109521a753743, InfoBox_579598e9fb01df30d587617706539283) if ( not InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586] ) then InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586] = {}; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e78d229014c7a07be65fde4797b92c86 = InfoBox_e78d229014c7a07be65fde4797b92c86; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e6955c64cf39bdb23dc86de1a9ec2117 = InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_58bf64b2530594f4163e4cd743249693 = InfoBox_58bf64b2530594f4163e4cd743249693; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_aacf928ffa23e474a000b1b6292d02a9 = InfoBox_aacf928ffa23e474a000b1b6292d02a9; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_ba70ac59c8a4b2cc67cf63223c84b656 = InfoBox_ba70ac59c8a4b2cc67cf63223c84b656; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_368ca88db2692f7a6b8d49e0a494fca3 = InfoBox_368ca88db2692f7a6b8d49e0a494fca3; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e336dc28c4d38435742089635936c144 = InfoBox_e336dc28c4d38435742089635936c144; if ( type(InfoBox_d3a65d55273767b5738109521a753743) == "table" ) then InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_c5920112f281fb8a00496feff73b89fc = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_b04250ec4cf47812276932ff52fee3d4 = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73; end InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_579598e9fb01df30d587617706539283 = InfoBox_579598e9fb01df30d587617706539283; InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_91f32deddbb8710fd941b684b1de8e6c = 0; return 0; else return 1; end end function InfoBox_90d03eefa2a17e4e101e44874c879999(InfoBox_f9da61d0483af6cef16512c8cc1a8586) local InfoBox_052d6ebb3394e2e58a7241a35c093f4e = InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(1, "all") local InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = 0; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_052d6ebb3394e2e58a7241a35c093f4e) do if ( __index ~= InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = InfoBox_3f50417fb16be9b1078eb68d24fa9c26 + 1; end end return InfoBox_3f50417fb16be9b1078eb68d24fa9c26; end function InfoBox_4e01ee0e72eb35f8d55d14d7e29168a1(stats, category, filter) local InfoBox_052d6ebb3394e2e58a7241a35c093f4e = InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(stats, category, filter); local InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = 0; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_052d6ebb3394e2e58a7241a35c093f4e) do InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = InfoBox_3f50417fb16be9b1078eb68d24fa9c26 + 1; end return InfoBox_3f50417fb16be9b1078eb68d24fa9c26; end function InfoBox_2483c9268979de1b2d24a2e49a088699(stats, filter) local InfoBox_cbea5024589fda649523e61061c3aec5 = InfoBox_0d89cfe87803d80e9d95edf65f1537f6(stats, filter); local InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = 0; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_cbea5024589fda649523e61061c3aec5) do InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = InfoBox_3f50417fb16be9b1078eb68d24fa9c26 + 1; end return InfoBox_3f50417fb16be9b1078eb68d24fa9c26; end function InfoBox_0d89cfe87803d80e9d95edf65f1537f6(stats, filter) local InfoBox_cd97ae6e822737c9a971f13f24214b88 = {}; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9) do if ( InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e78d229014c7a07be65fde4797b92c86 and InfoBox_4e01ee0e72eb35f8d55d14d7e29168a1(stats, InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e78d229014c7a07be65fde4797b92c86, filter) > 0 and not InfoBox_cd97ae6e822737c9a971f13f24214b88[InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e78d229014c7a07be65fde4797b92c86] ) then InfoBox_cd97ae6e822737c9a971f13f24214b88[InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e78d229014c7a07be65fde4797b92c86] = 1; end end return InfoBox_cd97ae6e822737c9a971f13f24214b88; end function InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(stats, category, filter) local InfoBox_e3284329709eead8f41be151a9573b29 = {}; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9) do if ( category == "all" or InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e78d229014c7a07be65fde4797b92c86 == category ) then if ( filter ) then if ( filter(InfoBox_2361bab8b48b1041ad740bb561b21aee) ) then InfoBox_e3284329709eead8f41be151a9573b29[__index] = InfoBox_2361bab8b48b1041ad740bb561b21aee; end elseif ( InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_91f32deddbb8710fd941b684b1de8e6c == stats ) then InfoBox_e3284329709eead8f41be151a9573b29[__index] = InfoBox_2361bab8b48b1041ad740bb561b21aee; end end end return InfoBox_e3284329709eead8f41be151a9573b29; end function InfoBox_b741e7bb96b797a3bfb35c46248cf6a0() local InfoBox_e18d4ea9e37be4577815ef966057d987 = BDropDownMenu_GetCurrentDropDown():GetParent(); return InfoBox_e18d4ea9e37be4577815ef966057d987; end function InfoBox_2e0d10d3b8a1c55c92dea22289fb6ee5(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.0, g=0.0, b=0.8, a=0.3}; config.borderColor = {r=0.7, g=1.0, b=0.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end TimeModuleWindow:ClearAllPoints(); TimeModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 1); TimeModuleWindow:Show(); end function InfoBox_f55dff9a577e1f9a2d84a026bc5a6119(InfoBox_ac0723394133c458cf0a253e512eae56) TimeModuleWindow:Hide(); end function InfoBox_092174ca4d94a8b834a01f382b4e71fc(InfoBox_f5cb07751fccdf339be4192634943a73) local InfoBox_c20b168eb6db289beda059819c7ac694, InfoBox_377682ab4d11f1b730b680e0c65e174c = GetGameTime(); local InfoBox_f77b0682927f1b0ab7760355cfc6b823; local InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; if ( InfoBox_c20b168eb6db289beda059819c7ac694 < 0 ) then InfoBox_c20b168eb6db289beda059819c7ac694 = 24 + InfoBox_c20b168eb6db289beda059819c7ac694; elseif ( InfoBox_c20b168eb6db289beda059819c7ac694 > 23 ) then InfoBox_c20b168eb6db289beda059819c7ac694 = 24 - InfoBox_c20b168eb6db289beda059819c7ac694; end local InfoBox_5535a6993d0bd39b28c25fd6cbf9ce6f = 0; if(InfoBox_c20b168eb6db289beda059819c7ac694 >= 12) then InfoBox_5535a6993d0bd39b28c25fd6cbf9ce6f = 1; end if(InfoBox_c20b168eb6db289beda059819c7ac694 > 12) then InfoBox_c20b168eb6db289beda059819c7ac694 = InfoBox_c20b168eb6db289beda059819c7ac694 - 12; end if(InfoBox_c20b168eb6db289beda059819c7ac694 == 0) then InfoBox_c20b168eb6db289beda059819c7ac694 = 12; end if(InfoBox_5535a6993d0bd39b28c25fd6cbf9ce6f == 0) then InfoBox_e6955c64cf39bdb23dc86de1a9ec2117 = format(TEXT(TIME_TWELVEHOURAM), InfoBox_c20b168eb6db289beda059819c7ac694, InfoBox_377682ab4d11f1b730b680e0c65e174c); else InfoBox_e6955c64cf39bdb23dc86de1a9ec2117 = format(TEXT(TIME_TWELVEHOURPM), InfoBox_c20b168eb6db289beda059819c7ac694, InfoBox_377682ab4d11f1b730b680e0c65e174c); end TimeModuleWindowText:SetText(InfoBox_e6955c64cf39bdb23dc86de1a9ec2117); end function InfoBox_86348fe4defb88aefab1af2fc53c3e0f(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.0, g=0.5, b=0.2, a=0.3}; config.borderColor = {r=0.7, g=1.0, b=0.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end CoordinateModuleWindow:ClearAllPoints(); CoordinateModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 1); CoordinateModuleWindow:Show(); end function InfoBox_4374f8149ed2a78d3ac69f062129fa54(InfoBox_ac0723394133c458cf0a253e512eae56) CoordinateModuleWindow:Hide(); end function InfoBox_aee59b3cd62b6927d6c257b5599735f6() local InfoBox_b254e387cf58e982ba24fcb3e8a63995,InfoBox_a0f453fd098c0b0fda780f69cda6ffbf = GetPlayerMapPosition("player"); if ( not InfoBox_b254e387cf58e982ba24fcb3e8a63995 or not InfoBox_a0f453fd098c0b0fda780f69cda6ffbf ) then return ""; end InfoBox_b254e387cf58e982ba24fcb3e8a63995 = math.floor(InfoBox_b254e387cf58e982ba24fcb3e8a63995*100+0.5); InfoBox_a0f453fd098c0b0fda780f69cda6ffbf = math.floor(InfoBox_a0f453fd098c0b0fda780f69cda6ffbf*100+0.5); CoordinateModuleWindowText:SetText(string.format(INFOBOX_COORDINATE_PATTERN, InfoBox_b254e387cf58e982ba24fcb3e8a63995, InfoBox_a0f453fd098c0b0fda780f69cda6ffbf)); end function InfoBox_a8011d1bea363808b18b8765a3207e7e(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.7, g=0.0, b=0.1, a=0.3}; config.borderColor = {r=0.7, g=1.0, b=0.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end FrameRateModuleWindow:ClearAllPoints(); FrameRateModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 1); FrameRateModuleWindow:Show(); end function InfoBox_0742a90a21d140b521de7ed664266a71(InfoBox_ac0723394133c458cf0a253e512eae56) FrameRateModuleWindow:Hide(); end function InfoBox_9a6b2c6f22e55e5e4ca289aebd41854e() FrameRateModuleWindowText:SetText(FRAMERATE_LABEL..format(" %.1f", GetFramerate())); end function InfoBox_eb006f462560d90a7bf5a16a29b0d59a(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.0, g=0.0, b=0.0, a=0.3}; config.borderColor = {r=1.0, g=1.0, b=1.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end MoneyModuleWindow:ClearAllPoints(); MoneyModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 0); MoneyModuleWindow:Show(); end function InfoBox_7d10a584a20f5220c4bf6ada0a127b96(InfoBox_ac0723394133c458cf0a253e512eae56) MoneyModuleWindow:Hide(); end function InfoBox_661543aacef206d13b08fe1feacd8be8(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.0, g=0.0, b=0.0, a=0.3}; config.borderColor = {r=1.0, g=1.0, b=1.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end MemoryModuleWindow:ClearAllPoints(); MemoryModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 1); MemoryModuleWindow:Show(); end function InfoBox_49aca67d51846b9a35c94b14707137b5(InfoBox_ac0723394133c458cf0a253e512eae56) MemoryModuleWindow:Hide(); end function InfoBox_7389294ae6da84145fe96e4cc723e01f() local InfoBox_6a793bdd1f2e1d576262ca8c68cc6967 = gcinfo(); local InfoBox_e6955c64cf39bdb23dc86de1a9ec2117 = string.format(INFOBOX_MEMORY_PATTERN, math.floor((InfoBox_6a793bdd1f2e1d576262ca8c68cc6967/1024)*10)/10); MemoryModuleWindowText:SetText(InfoBox_e6955c64cf39bdb23dc86de1a9ec2117); end InfoBox_17ad19dfb3564f374ebbfd33ea9296fa = { "CHAT_MSG_COMBAT_MISC_INFO", "CHAT_MSG_COMBAT_SELF_HITS", "CHAT_MSG_COMBAT_PET_HITS", "CHAT_MSG_SPELL_SELF_DAMAGE", "CHAT_MSG_SPELL_PET_DAMAGE", "CHAT_MSG_SPELL_DAMAGESHIELDS_ON_SELF", "CHAT_MSG_SPELL_DAMAGESHIELDS_ON_OTHERS", "CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE", }; InfoBox_e6a31b5f036119ea111851d858f30183 = 0; InfoBox_2fecb759aa200baa524f1487c7805e6b = 0.00000001; InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 = 0; InfoBox_99910e837ef848d2ae7bb3333716ba35 = 0.00000001; function ShowDPS() local InfoBox_eb44bb91d4a00080a1a5988e197a923a = math.floor((InfoBox_e6a31b5f036119ea111851d858f30183/InfoBox_2fecb759aa200baa524f1487c7805e6b)*10)/10; local InfoBox_4490959c7c47a747191768cb7fa11413 = math.floor((InfoBox_2e83e0372d5895dc0d190c9a9952a0d4/InfoBox_99910e837ef848d2ae7bb3333716ba35)*10)/10; DPSModuleWindowText:SetText("DPS: "..InfoBox_4490959c7c47a747191768cb7fa11413.." / "..InfoBox_eb44bb91d4a00080a1a5988e197a923a); end function DPSModuleWindow_OnEvent(self, InfoBox_d0708241b607c9a9dd1953c812fadfb7, ...) if ( InfoBox_d0708241b607c9a9dd1953c812fadfb7 == "PLAYER_REGEN_DISABLED" ) then InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 = 0; InfoBox_99910e837ef848d2ae7bb3333716ba35 = GetTime(); return; end if ( InfoBox_d0708241b607c9a9dd1953c812fadfb7 == "PLAYER_REGEN_ENABLED" ) then if ( InfoBox_99910e837ef848d2ae7bb3333716ba35 ~= 0 and InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 ~= 0 ) then InfoBox_e6a31b5f036119ea111851d858f30183 = InfoBox_e6a31b5f036119ea111851d858f30183 + InfoBox_2e83e0372d5895dc0d190c9a9952a0d4; InfoBox_99910e837ef848d2ae7bb3333716ba35 = GetTime() - InfoBox_99910e837ef848d2ae7bb3333716ba35; InfoBox_2fecb759aa200baa524f1487c7805e6b = InfoBox_2fecb759aa200baa524f1487c7805e6b + InfoBox_99910e837ef848d2ae7bb3333716ba35; ShowDPS(); end return; end local InfoBox_e914904fab9d05d3f54d52bfc31a0f3f, InfoBox_5e57ab95c762a48d9a126b104db1056f; if (InfoBox_17ad19dfb3564f374ebbfd33ea9296fa) then for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, getn(InfoBox_17ad19dfb3564f374ebbfd33ea9296fa), 1 do if ( InfoBox_d0708241b607c9a9dd1953c812fadfb7 == "CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE" ) then local InfoBox_6e4d0db7491d6883f86de390d20dbe5b, InfoBox_a2f3972c23a0aa3bd7fb0e9823d918f2, InfoBox_d6d50da5dddad256810117177ea89ad0, InfoBox_b48c6d810781a0aaca7a1daf572bf0a2, InfoBox_ae27b57da3355d3813132c7a240a3a39, InfoBox_edd67b0754526d7987d33a1def79c18a, InfoBox_6d5e7d83d8358745ae4dcf61d16bd1f3 = string.find(arg1, "(.+)的(.+)使(.+)受到了(%d+)点(.+)伤害。"); if ( InfoBox_6e4d0db7491d6883f86de390d20dbe5b and InfoBox_edd67b0754526d7987d33a1def79c18a and (InfoBox_d6d50da5dddad256810117177ea89ad0 == "你" or InfoBox_d6d50da5dddad256810117177ea89ad0 == UnitName("pet")) ) then InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 = InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 + InfoBox_edd67b0754526d7987d33a1def79c18a; return; end elseif ( InfoBox_d0708241b607c9a9dd1953c812fadfb7 == InfoBox_17ad19dfb3564f374ebbfd33ea9296fa[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f] ) then if (InfoBox_b9b66531a802f39707301c1dfc4955d8) then for InfoBox_5e57ab95c762a48d9a126b104db1056f = 1, getn(InfoBox_b9b66531a802f39707301c1dfc4955d8), 1 do local InfoBox_6e4d0db7491d6883f86de390d20dbe5b, InfoBox_6c5560108ad7aaf47e811081394a00b4, InfoBox_edd67b0754526d7987d33a1def79c18a = string.find(arg1, InfoBox_b9b66531a802f39707301c1dfc4955d8[InfoBox_5e57ab95c762a48d9a126b104db1056f]); if ( InfoBox_6e4d0db7491d6883f86de390d20dbe5b and InfoBox_edd67b0754526d7987d33a1def79c18a ) then InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 = InfoBox_2e83e0372d5895dc0d190c9a9952a0d4 + InfoBox_edd67b0754526d7987d33a1def79c18a; end end end end end end end function InfoBox_7eecd07a12aacecaa83eab33882d287b(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.0, g=0.0, b=0.0, a=0.3}; config.borderColor = {r=1.0, g=1.0, b=1.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end DPSModuleWindow:ClearAllPoints(); DPSModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 1); DPSModuleWindow:Show(); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_17ad19dfb3564f374ebbfd33ea9296fa) do DPSModuleWindow:RegisterEvent(InfoBox_2361bab8b48b1041ad740bb561b21aee); end DPSModuleWindow:RegisterEvent("PLAYER_REGEN_ENABLED"); DPSModuleWindow:RegisterEvent("PLAYER_REGEN_DISABLED"); ShowDPS(); end function InfoBox_9345e44c7443c557ba0946f12fc2f023(InfoBox_ac0723394133c458cf0a253e512eae56) DPSModuleWindow:Hide(); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_17ad19dfb3564f374ebbfd33ea9296fa) do DPSModuleWindow:UnregisterEvent(InfoBox_2361bab8b48b1041ad740bb561b21aee); end DPSModuleWindow:UnregisterEvent("PLAYER_REGEN_ENABLED"); DPSModuleWindow:UnregisterEvent("PLAYER_REGEN_DISABLED"); end function ModuleSlot_DoNothing() end function InfoBox_0629e13ecd29cf2b81d5ae101e79493b(InfoBox_ac0723394133c458cf0a253e512eae56) local id = InfoBox_ac0723394133c458cf0a253e512eae56:GetID(); if ( ModuleSlot_IsDefaultColor(id) ) then local config = ModuleSlotManager_GetSlotConfig(id); config.backColor = {r=0.1, g=0.1, b=0.1, a=0.3}; config.borderColor = {r=0.7, g=1.0, b=0.0, a=0.75}; ModuleSlotManager_SetSlotConfig(id, config); end LatencyModuleWindow:ClearAllPoints(); LatencyModuleWindow:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 1); LatencyModuleWindow:Show(); end function InfoBox_43dd14a6e71262a8dab9a881d649159b(InfoBox_ac0723394133c458cf0a253e512eae56) LatencyModuleWindow:Hide(); end function InfoBox_dbe67bc054701a7cd05a415b8e859648() local InfoBox_b7049bc44755d8e0271ad9cad7e20f17, InfoBox_5a4b295b63623d1acc28b86987d43f80, InfoBox_9a07f4bb7bf0afdef5b20af1a42dca53 = GetNetStats(); LatencyModuleWindowText:SetText(string.format(INFOBOX_LATENCY_PATTERN, InfoBox_9a07f4bb7bf0afdef5b20af1a42dca53)); end function ModuleSlot_MaskFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_b2c23ab16b0644a1e9658bc5c6a4fea9) if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetName() == "BonusActionBar") then ModuleSlot_MaskFrame2(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); else if ( not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetPoint ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetPoint = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetPoint InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetFrameLevel = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetFrameLevel InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetHeight = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetHeight if (not InfoBox_b2c23ab16b0644a1e9658bc5c6a4fea9 or InfoBox_b2c23ab16b0644a1e9658bc5c6a4fea9.SetWidth) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetWidth = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetWidth InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetWidth = ModuleSlot_DoNothing; end InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotClearAllPoints = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.ClearAllPoints InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotStartMoving = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.StartMoving InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotStartSizing = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.StartSizing InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetScale = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetScale InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetPoint = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetFrameLevel = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetHeight = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.ClearAllPoints = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.StartMoving = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.StartSizing = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetScale = ModuleSlot_DoNothing; end end end function ModuleSlot_UnmaskFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetName() == "BonusActionBar") then ModuleSlot_UnmaskFrame2(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); else if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetPoint ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetPoint = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetPoint; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetFrameLevel = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetFrameLevel; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetHeight = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetHeight; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetWidth = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetWidth; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.ClearAllPoints = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotClearAllPoints; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.StartMoving = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotStartMoving; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.StartSizing = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotStartSizing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetScale = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetScale; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetPoint = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetFrameLevel = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetHeight = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetWidth = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotClearAllPoints = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotStartMoving = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotStartSizing = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetScale = nil; end end end function ModuleSlot_MaskShowFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if ( not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShow ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShow = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.Show; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotHide = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.Hide; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetAlpha = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetAlpha; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.Show = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.Hide = ModuleSlot_DoNothing; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetAlpha = ModuleSlot_DoNothing; end end function ModuleSlot_UnmaskShowFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShow ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.Show = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShow; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.Hide = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotHide; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetAlpha = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetAlpha; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShow = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotHide = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSetAlpha = nil; end end function ModuleSlot_MaskFrame2(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_b2c23ab16b0644a1e9658bc5c6a4fea9) if ( not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.InfoBox_35a334c867ef3dc06ad312fc0dd96bf4 ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.InfoBox_35a334c867ef3dc06ad312fc0dd96bf4 = true; ModuleSlot_MaskFrame_Position(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); ModuleSlot_MaskFrame_Size(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); ModuleSlot_MaskFrame_Moving(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end function ModuleSlot_MaskFrame_Moving(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if (not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotMoving) then hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "StartMoving", ModuleSlot_MaskFrame_Moving_Func); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "StartSizing", ModuleSlot_MaskFrame_Moving_Func); end end function ModuleSlot_UnmaskFrame_Moving(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotMoving = nil; end function ModuleSlot_MaskFrame_Moving_Func(InfoBox_c933410cf37b41b19e2f71899bab1b9b) if (InfoBox_dfae930124ec1ace55307fdcdb51cfb4) then return; end if (InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotMoving) then InfoBox_c933410cf37b41b19e2f71899bab1b9b:StopMovingOrSizing(); end end function ModuleSlot_MaskFrame_Position(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints = {}; local InfoBox_0001857ddc87bc382cff1ce608260a07 = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetNumPoints(); for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, InfoBox_0001857ddc87bc382cff1ce608260a07, 1 do InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f] = {}; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f][1], InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f][2], InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f][3], InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f][4], InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints[InfoBox_e914904fab9d05d3f54d52bfc31a0f3f][5] = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetPoint(InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); end hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "SetPoint", ModuleSlot_MaskFrame_Position_Func); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "ClearAllPoints", ModuleSlot_MaskFrame_Position_Func); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "SetAllPoints", ModuleSlot_MaskFrame_Position_Func); end function ModuleSlot_UnmaskFrame_Position(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotPoints = nil; end function ModuleSlot_MaskFrame_Position_Func(InfoBox_c933410cf37b41b19e2f71899bab1b9b, ...) if (InfoBox_dfae930124ec1ace55307fdcdb51cfb4) then return; end if (InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotPoints) then InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = true; InfoBox_c933410cf37b41b19e2f71899bab1b9b:ClearAllPoints(); for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotPoints) do InfoBox_c933410cf37b41b19e2f71899bab1b9b:SetPoint(InfoBox_2361bab8b48b1041ad740bb561b21aee[1], InfoBox_2361bab8b48b1041ad740bb561b21aee[2], InfoBox_2361bab8b48b1041ad740bb561b21aee[3], InfoBox_2361bab8b48b1041ad740bb561b21aee[4], InfoBox_2361bab8b48b1041ad740bb561b21aee[5]); end InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = nil; end end function ModuleSlot_MaskFrame_Showing(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if (not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShowing) then if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:IsShown()) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShowing = "show"; else InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShowing = "hide"; end hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "Show", ModuleSlot_MaskFrame_Showing_Func); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "Hide", ModuleSlot_MaskFrame_Showing_Func); end if (not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotAlpha) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotAlpha = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetAlpha(); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "SetAlpha", ModuleSlot_MaskFrame_Showing_Func); end end function ModuleSlot_UnmaskFrame_Showing(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotShowing = nil; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotAlpha = nil; end function ModuleSlot_MaskFrame_Showing_Func(InfoBox_c933410cf37b41b19e2f71899bab1b9b, ...) if (InfoBox_dfae930124ec1ace55307fdcdb51cfb4) then return; end if (InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotShowing) then InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = true; if (InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotShowing == "show") then InfoBox_c933410cf37b41b19e2f71899bab1b9b:Show(); else InfoBox_c933410cf37b41b19e2f71899bab1b9b:Hide(); end InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = nil; end if (InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotAlpha) then InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = true; InfoBox_c933410cf37b41b19e2f71899bab1b9b:SetAlpha(InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotAlpha); InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = nil; end end function ModuleSlot_MaskFrame_Size(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if (not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize = {}; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize["width"] = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetWidth(); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize["height"] = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetHeight(); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize["scale"] = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetScale(); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "SetWidth", ModuleSlot_MaskFrame_Size_Func); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "SetHeight", ModuleSlot_MaskFrame_Size_Func); hooksecurefunc(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, "SetScale", ModuleSlot_MaskFrame_Size_Func); end end function ModuleSlot_UnmaskFrame_Size(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.slotSize = nil; end end function ModuleSlot_MaskFrame_Size_Func(InfoBox_c933410cf37b41b19e2f71899bab1b9b, ...) if (InfoBox_dfae930124ec1ace55307fdcdb51cfb4) then return; end if (InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotSize) then InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = true; InfoBox_c933410cf37b41b19e2f71899bab1b9b:SetWidth(InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotSize["width"]); InfoBox_c933410cf37b41b19e2f71899bab1b9b:SetHeight(InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotSize["height"]); InfoBox_c933410cf37b41b19e2f71899bab1b9b:SetScale(InfoBox_c933410cf37b41b19e2f71899bab1b9b.slotSize["scale"]); InfoBox_dfae930124ec1ace55307fdcdb51cfb4 = nil; end end function ModuleSlot_UnmaskFrame2(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.InfoBox_35a334c867ef3dc06ad312fc0dd96bf4 ) then ModuleSlot_UnmaskFrame_Position(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); ModuleSlot_UnmaskFrame_Size(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); ModuleSlot_UnmaskFrame_Moving(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.InfoBox_35a334c867ef3dc06ad312fc0dd96bf4 = nil; end end function ModuleSlot_MaskShowFrame2(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) ModuleSlot_MaskFrame_Showing(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end function ModuleSlot_UnmaskShowFrame2(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) ModuleSlot_UnmaskFrame_Showing(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) end function ModuleManagerFrame_OnLoad(self) local InfoBox_d3a65d55273767b5738109521a753743; InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_2e0d10d3b8a1c55c92dea22289fb6ee5; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_f55dff9a577e1f9a2d84a026bc5a6119; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_092174ca4d94a8b834a01f382b4e71fc; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc = 1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "TimeModuleWindow" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "time", INFOBOX_CATEGORY_INFOTIP, INFOBOX_MODULE_TIME_TITLE, INFOBOX_MODULE_TIME_DESC, nil, 60, 11, nil, InfoBox_d3a65d55273767b5738109521a753743, { "TimeModuleWindow" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_86348fe4defb88aefab1af2fc53c3e0f; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_4374f8149ed2a78d3ac69f062129fa54; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_aee59b3cd62b6927d6c257b5599735f6; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc = 1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "CoordinateModuleWindow" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "coordinate", INFOBOX_CATEGORY_INFOTIP, INFOBOX_MODULE_COORDINATE_TITLE, INFOBOX_MODULE_COORDINATE_DESC, nil, 100, 11, nil, InfoBox_d3a65d55273767b5738109521a753743, { "CoordinateModuleWindow" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_0629e13ecd29cf2b81d5ae101e79493b; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_43dd14a6e71262a8dab9a881d649159b; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_dbe67bc054701a7cd05a415b8e859648; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc = 1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "LatencyModuleWindow" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "latency", INFOBOX_CATEGORY_INFOTIP, INFOBOX_MODULE_LATENCY_TITLE, INFOBOX_MODULE_LATENCY_DESC, nil, 115, 11, nil, InfoBox_d3a65d55273767b5738109521a753743, { "LatencyModuleWindow" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_a8011d1bea363808b18b8765a3207e7e; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_0742a90a21d140b521de7ed664266a71; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_9a6b2c6f22e55e5e4ca289aebd41854e; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc = 1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "FrameRateModuleWindow" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "frameRate", INFOBOX_CATEGORY_INFOTIP, INFOBOX_MODULE_FRAME_RATE_TITLE, INFOBOX_MODULE_FRAME_RATE_DESC, nil, 115, 11, nil, InfoBox_d3a65d55273767b5738109521a753743, { "FrameRateModuleWindow" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_661543aacef206d13b08fe1feacd8be8; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_49aca67d51846b9a35c94b14707137b5; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_4d01bd7cb8ddf9d2a8faa4e1db0034bf = InfoBox_7389294ae6da84145fe96e4cc723e01f; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc = 1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MemoryModuleWindow" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "memory", INFOBOX_CATEGORY_INFOTIP, INFOBOX_MODULE_MEMORY_TITLE, INFOBOX_MODULE_MEMORY_DESC, nil, 108, 11, nil, InfoBox_d3a65d55273767b5738109521a753743, { "MemoryModuleWindow" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_eb006f462560d90a7bf5a16a29b0d59a; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_7d10a584a20f5220c4bf6ada0a127b96; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_c5920112f281fb8a00496feff73b89fc = 1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MoneyModuleWindow" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "money", INFOBOX_CATEGORY_INFOTIP, INFOBOX_MODULE_MONEY_TITLE, INFOBOX_MODULE_MONEY_DESC, nil, 115, 11, nil, InfoBox_d3a65d55273767b5738109521a753743, { }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_d5e1368d050c2c2c14a633c494c0b74e; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_8f4193a2ed6125d2acfbe7ddc511ccbe; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "PlayerFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "playerFrame", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_PORTRAIT_TITLE, INFOBOX_MODULE_PORTRAIT_DESC, nil, 270, 70, 1, InfoBox_d3a65d55273767b5738109521a753743, { "PlayerFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_1248dd55e8d8c9b4abc1757f4c108f60; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_371a5865d81fccab48c8720e7007b37a; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "TargetFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "targetFrame", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_TARGET_TITLE, INFOBOX_MODULE_TARGET_DESC, nil, 200, 80, 1, InfoBox_d3a65d55273767b5738109521a753743, { "TargetFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_2c91a85dfceb249556ee26927f8fb357; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_3db8bb2f6ca757fe833859d2d66b39c9; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "PartyMemberFrame1", "PartyMemberFrame2", "PartyMemberFrame3", "PartyMemberFrame4" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "partyFrame", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_PARTY_TITLE, INFOBOX_MODULE_PARTY_DESC, nil, 140, 250, 1, InfoBox_d3a65d55273767b5738109521a753743, { "PartyMemberFrame1" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_681ebc85aca0088edbd7200495e6fbe4; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_065f033e6f6c8541202692ecb3c9829b; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "ActionButton1", "ActionButton2", "ActionButton3", "ActionButton4", "ActionButton5", "ActionButton6", "ActionButton7", "ActionButton8", "ActionButton9", "ActionButton10", "ActionButton11", "ActionButton12", "BonusActionBarFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "actionBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_MAIN_ACTION_BAR_TITLE, INFOBOX_MODULE_MAIN_ACTION_BAR_DESC, nil, 511, 42, 1, InfoBox_d3a65d55273767b5738109521a753743, { "ActionButton1", "BonusActionBarFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_552b8d01bf03cd70a410458fe4a5c4e8; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_32b408299b167e8e84a81d1eebf980c6; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MultiBarBottomLeft" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "bottomLeftBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_LB_ACTION_BAR_TITLE, INFOBOX_MODULE_LB_ACTION_BAR_DESC, nil, 511, 42, 1, InfoBox_d3a65d55273767b5738109521a753743, { "MultiBarBottomLeft" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_514c55f9ad498778e21068c1029c700a; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_e74b7c1c5c141a228b785143b72d7c77; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MultiBarBottomRight" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "bottomRightBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_RB_ACTION_BAR_TITLE, INFOBOX_MODULE_RB_ACTION_BAR_DESC, nil, 511, 42, 1, InfoBox_d3a65d55273767b5738109521a753743, { "MultiBarBottomRight" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_789ae9c393d9533981fac1b6b5a873a6; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_d16399e96df715172e446adb498fac59; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MultiBarRight" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "rightBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_RIGHT_ACTION_BAR_TITLE, INFOBOX_MODULE_RIGHT_ACTION_BAR_DESC, nil, 50, 505, 1, InfoBox_d3a65d55273767b5738109521a753743, { "MultiBarRight" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_02827ec780b0ff97886b336dc4340a22; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_de5a88c6c83a69388d953cbf6520f230; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MultiBarLeft" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "leftBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_LEFT_ACTION_BAR_TITLE, INFOBOX_MODULE_LEFT_ACTION_BAR_DESC, nil, 50, 505, 1, InfoBox_d3a65d55273767b5738109521a753743, { "MultiBarLeft" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_78eb7c7a3d20d4bd7e37dfb165fec95f; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_863d13f5998a8c253417e043389e6adb; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_8915727e13930a3cff0006ffdbcd044b; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "BSM_BarLabels", "BSM_Bars" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_ffba9c981ab87d2cca0dc50d7ea05394; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "BSM_BarLabels", "BSM_Bars" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MainMenuBarBackpackButton", "CharacterBag0Slot", "CharacterBag1Slot", "CharacterBag2Slot", "CharacterBag3Slot" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "bagBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_BAG_TITLE, INFOBOX_MODULE_BAG_DESC, nil, 216, 43, 1, InfoBox_d3a65d55273767b5738109521a753743, { "MainMenuBarBackpackButton" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_280435975c195f281919562bb501bc46; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_4b755a1a4c937071880c2ad14771f5d5; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "PetActionBarFrame", "ShapeshiftBarFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "petActionBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_SHAPESHIFT_TITLE, INFOBOX_MODULE_SHAPESHIFT_DESC, nil, 383, 32, 1, InfoBox_d3a65d55273767b5738109521a753743, { "PetActionBarFrame", "ShapeshiftBarFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_5eedd96e86e7d316eaf2d0371eb4fff1; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_74b84417f7f18fb5b81115135f5ed7f4; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_96cf6bdedaaad1488915027691092b28; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "CharacterMicroButton", "SpellbookMicroButton", "TalentMicroButton", "AchievementMicroButton", "QuestLogMicroButton", "SocialsMicroButton", "PVPMicroButton", "LFGMicroButton", "WorldMapMicroButton", "MainMenuMicroButton", "HelpMicroButton", "MainMenuBarMaxLevelBar", }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_228b88956eae44eaa11e2c9323c0aef5; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "CharacterMicroButton", "SpellbookMicroButton", "TalentMicroButton", "AchievementMicroButton", "QuestLogMicroButton", "SocialsMicroButton", "PVPMicroButton", "LFGMicroButton", "WorldMapMicroButton", "MainMenuMicroButton", "HelpMicroButton", "MainMenuBarMaxLevelBar" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "CharacterMicroButton", "SpellbookMicroButton", "TalentMicroButton", "AchievementMicroButton", "QuestLogMicroButton", "SocialsMicroButton", "PVPMicroButton", "LFGMicroButton", "WorldMapMicroButton", "MainMenuMicroButton", "HelpMicroButton", "MainMenuBarMaxLevelBar" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "menuToolBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_MENU_TITLE, INFOBOX_MODULE_MENU_DESC, nil, 230, 32, 1, InfoBox_d3a65d55273767b5738109521a753743, { "CharacterMicroButton" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_74f9c91634552381ef709f3c5e3b2349; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_e57b2df7901b2192d71e4a0aa5031207; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_d14b5850bc3f43e1bcc70d3f670445a4; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "CastingBarFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_fcd1692a7fcb6d66f108ff25d4b3cb82; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "CastingBarFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "CastingBarFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "castingBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_CAST_BAR_TITLE, INFOBOX_MODULE_CAST_BAR_DESC, nil, 218, 20, 1, InfoBox_d3a65d55273767b5738109521a753743, { "CastingBarFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_f54c0976ae771afb909bce358aff7dc3; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_6a256d2e52ccfab29079e0cbdb6450de; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_4dd14a4060e260892ae9c7e1da72f470; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "WatchFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "WatchFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "questWatch", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_QUEST_TRACK_TITLE, INFOBOX_MODULE_QUEST_TRACK_DESC, nil, 220, 100, 1, InfoBox_d3a65d55273767b5738109521a753743, { "WatchFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_42251f4d0d89bfe0a843d6594977a8bb; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_e3e472ce9183dec479ba35f2eb61416c; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_722fde93a53fe7fc03ed892a1871540d; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "DurabilityFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_16ffea1c68c349e7aedf9880ec6befa0; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "DurabilityFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "DurabilityFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "durabilityFrame", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_DURABILITY_TITLE, INFOBOX_MODULE_DURABILITY_DESC, nil, 108, 90, 1, InfoBox_d3a65d55273767b5738109521a753743, { "DurabilityFrame" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_ec59d087fea64edee3a8c1b1a62388c3; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_3b4773f927b1abfd707c03e9fbc16d7c; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_be8e313fe92c4b62b4c48c24a210dfc4; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "BuffFrame", "TemporaryEnchantFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_d575d8c413faae3913452de4666550ef; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "BuffFrame", "TemporaryEnchantFrame" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "BuffFrame", "TemporaryEnchantFrame" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "buffBar", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_BUFF_TITLE, INFOBOX_MODULE_BUFF_DESC, nil, 300, 150, 1, InfoBox_d3a65d55273767b5738109521a753743, { "TemporaryEnchantFrame |!SetWidth|" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_c13858da04c9a796a17cd98ccaf65571; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_d2c2034665139d14b96290b7f65a1da8; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_07d12b3dd7a6cee47d7375f0c9e3360c; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "MinimapCluster" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_f63ca8dea7f764d3b97a7c5b87ae885c; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "MinimapCluster" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "MinimapCluster" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "miniMap", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_MINIMAP_TITLE, INFOBOX_MODULE_MINIMAP_DESC, nil, 200, 192, 1, InfoBox_d3a65d55273767b5738109521a753743, { "MinimapCluster" }); InfoBox_d3a65d55273767b5738109521a753743 = {}; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_04945e5814d7f994b52aa86c2de2b82f = InfoBox_31c05f50e8bb10b2c363cf8e145cd4f0; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_52b3cd609d9fc1b9f3811ae59327dc06 = InfoBox_7f6dfe7e2af06d22b0d5a835ef10e0e9; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_33c6a08bfd9a87c54e6ee959bd5859e8 = InfoBox_4a1e014e7c12e20d978031463acacbdb; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_d303e85119122d2a63eeb3e2c1f783b4 = { "KeyRingButton" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_bbdc0542fafdb66853ad1551ab96f042 = InfoBox_9e1940e2547a04b3bc18dbc13c824b70; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_b04250ec4cf47812276932ff52fee3d4 = { "KeyRingButton" }; InfoBox_d3a65d55273767b5738109521a753743.InfoBox_a28df8d25b5f5f7bbc3e43426c60ff73 = { "KeyRingButton" }; InfoBox_e6cd4539e86445f0bfcc09ea2dd9e6ea( "keyRing", INFOBOX_CATEGORY_INTERFACE, INFOBOX_MODULE_KEYRING_TITLE, INFOBOX_MODULE_KEYRING_DESC, nil, 30, 80, 1, InfoBox_d3a65d55273767b5738109521a753743, { "KeyRingButton" }); end function InfoBox_Toggle(switch) if (switch) then if ( not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0 ) then if (ModuleSlot_Config["saved"]) then InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config["default"], ModuleSlot_Config["saved"]); ModuleSlot_Config["saved"] = nil; end InfoBox_b3fd90937b778adaf6882291a0a86847(); if ( ModuleSlot_Config["default"] and ModuleSlot_Config["default"].settings ) then local useUiScale = GetCVar("useUiScale"); local uiScale = GetCVar("uiscale"); if ( ModuleSlot_Config["default"].settings.useUiScale and (useUiScale ~= ModuleSlot_Config["default"].settings.useUiScale or (ModuleSlot_Config["default"].settings.useUiScale=="1" and uiScale ~= ModuleSlot_Config["default"].settings.uiscale)) ) then SetCVar("uiscale", ModuleSlot_Config["default"].settings.uiscale); SetCVar("useUiScale", ModuleSlot_Config["default"].settings.useUiScale); end end ModuleSlotManager_UpdateUI(); if ( ModuleSlot_Config["default"] and ModuleSlot_Config["default"].chatFrames ) then ModuleSlotManager_UpdateFCFbyConfig(ModuleSlot_Config["default"].chatFrames); end MODULESLOT_LOCKALL = 1; InfoBoxButtonUnlockWindow:Hide(); InfoBoxButtonLockWindow:Show(); BCloseDropDownMenus(); if (not InfoBox_3138d4268873d9fc3c7c82b9a1767482) then hooksecurefunc("Quit", InfoBox_c1ab1e8876c936677f7461c878b40b09); hooksecurefunc("Logout", InfoBox_4ac5a526895b969a2ec95f9d1c562908); hooksecurefunc("InterfaceOptionsFrameOkay_OnClick", InfoBox_0e72a549a3613c16db36e854b2d01f81); hooksecurefunc("InterfaceOptionsFrameDefaults_OnClick", InfoBox_8f702cfc71f0179a20192f8655408857); hooksecurefunc("InterfaceOptionsFrameOkay_OnClick", InfoBox_3a84a20b3db7a5786295c633df7e297f); hooksecurefunc("InterfaceOptionsFrameDefaults_OnClick", InfoBox_f6b30759a9d74a84da8759da7ed25da9); hooksecurefunc("FCF_StopResize", InfoBox_4c255727f04786b8587ac5f173c29c7b); hooksecurefunc("FCF_ValidateChatFramePosition", InfoBox_249f9c3fc622b23bb2f50f2383301133); hooksecurefunc("FCF_SaveDock", InfoBox_5bd9271ddad22f68f2566b17fb019100); InfoBox_3138d4268873d9fc3c7c82b9a1767482 = true; end InfoBox_bbd0491249d976458f5d2f66c5ba4c86(); ModuleManagerFrame:Show(); InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0 = 1; end else if ( InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0 ) then ModuleSlot_Config["saved"] = {}; InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config["saved"], ModuleSlot_Config["default"]); InfoBox_b3fd90937b778adaf6882291a0a86847(1); InfoBoxToolBar:Hide(); ModuleManagerFrame:Hide(); InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0 = nil; end end end function InfoBox_14dc46a8e110a1a3c7d7d474d9799883(InfoBox_7739b813d90aed43ab9d0eb84ec1c1ae) if ( InfoBox_7739b813d90aed43ab9d0eb84ec1c1ae == 1 ) then ModuleManagerFrame:Show(); else ModuleManagerFrame:Hide(); end end function ModuleManagerFrame_OnEvent(self, InfoBox_d0708241b607c9a9dd1953c812fadfb7, ...) end function ModuleSlot_CanSlotBeActived(InfoBox_f5cb07751fccdf339be4192634943a73) if ( InfoBox_bcbe75ef515586e0877c204b87f986d2 ) then return nil; end if ( InfoBox_f5cb07751fccdf339be4192634943a73.fullHide ) then return nil; end if ( InfoBox_f5cb07751fccdf339be4192634943a73.InfoBox_f9da61d0483af6cef16512c8cc1a8586 ) then return 1; end if ( not InfoBox_f5cb07751fccdf339be4192634943a73:IsVisible() ) then return nil; end return 1; end function ModuleSlotManager_SetDefaultManifist(config) config.backColor = {r=0.0, g=0.0, b=0.0, a=0.25}; config.borderColor = {r=0.8, g=0.8, b=0.8, a=0.25}; end function ModuleSlot_IsDefaultColor(id) local config = ModuleSlotManager_GetSlotConfig(id); if (config.backColor.r == 0.0 and config.backColor.g == 0.0 and config.backColor.b == 0.0 and config.backColor.a == 0.25 ) then if ( config.borderColor.r == 0.8 and config.borderColor.g == 0.8 and config.borderColor.b == 0.8 and config.borderColor.a == 0.25 ) then return 1; end end end function ModuleSlotManager_GetDefaultConfig() local InfoBox_26b1779745c20ee76d8f20d6565e29d1; if ( not InfoBox_26b1779745c20ee76d8f20d6565e29d1 ) then InfoBox_26b1779745c20ee76d8f20d6565e29d1 = {}; end ModuleSlotManager_SetDefaultManifist(InfoBox_26b1779745c20ee76d8f20d6565e29d1); InfoBox_26b1779745c20ee76d8f20d6565e29d1.locked = nil; InfoBox_26b1779745c20ee76d8f20d6565e29d1.link = {}; InfoBox_26b1779745c20ee76d8f20d6565e29d1.hideBackground = nil; InfoBox_26b1779745c20ee76d8f20d6565e29d1.disableShowBackground = nil; InfoBox_26b1779745c20ee76d8f20d6565e29d1.show = nil; InfoBox_26b1779745c20ee76d8f20d6565e29d1.width = 150; InfoBox_26b1779745c20ee76d8f20d6565e29d1.height = 100; InfoBox_26b1779745c20ee76d8f20d6565e29d1.left = 400; InfoBox_26b1779745c20ee76d8f20d6565e29d1.top = 400; InfoBox_26b1779745c20ee76d8f20d6565e29d1.module = nil; return InfoBox_26b1779745c20ee76d8f20d6565e29d1; end function ModuleSlotManager_GetFirstModuleConfig() local config = ModuleSlotManager_GetDefaultConfig(); config.show = 1; return config; end function ModuleSlotManager_UpdateManifist(id) local config = ModuleSlotManager_GetSlotConfig(id); local moduleSlot = getglobal("ModuleSlot"..id); local InfoBox_c2e1f4d7c166224d216d74177c767d89; local InfoBox_0190b5ee51b3315322d7ca6f47cc50d9; if ( config.hideBackground ) then InfoBox_c2e1f4d7c166224d216d74177c767d89 = 0.0; InfoBox_0190b5ee51b3315322d7ca6f47cc50d9 = 0.0; else InfoBox_c2e1f4d7c166224d216d74177c767d89 = config.backColor.a; InfoBox_0190b5ee51b3315322d7ca6f47cc50d9 = config.borderColor.a; end ModuleSlot_SetBackColor(moduleSlot, config.backColor.r, config.backColor.g, config.backColor.b, InfoBox_c2e1f4d7c166224d216d74177c767d89); ModuleSlot_SetBorderColor(moduleSlot, config.borderColor.r, config.borderColor.g, config.borderColor.b, InfoBox_0190b5ee51b3315322d7ca6f47cc50d9); end function ModuleSlotManager_ResetDefaultManifist(id, update) if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); ModuleSlotManager_SetDefaultManifist(config); ModuleSlotManager_SetSlotConfig(id, config); if ( update ) then ModuleSlotManager_UpdateManifist(id); end end end function InfoBox_e9ea20d74d86c3bcab26e9d2aac1f0ad() if ( ModuleSlot_Config_Custom ) then InfoBox_b3fd90937b778adaf6882291a0a86847(1); ModuleSlot_Config = {}; InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config, ModuleSlot_Config_Custom); elseif ( ModuleSlot_Config_Default ) then InfoBox_b3fd90937b778adaf6882291a0a86847(1); ModuleSlot_Config = {}; InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config, ModuleSlot_Config_Default); end InfoBox_e745f43ed1306833fbf98e1906969a6c(INFOBOX_THEME_1_NAME); end function InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df() if ( not ModuleSlot_Config or not ModuleSlot_Config["default"] ) then if ( ModuleSlot_Config_Default ) then ModuleSlot_Config = {}; InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config, ModuleSlot_Config_Default); else ModuleSlot_Config = {}; end end end function ModuleSlotManager_GetValidSlotCount(theme) local InfoBox_6c5560108ad7aaf47e811081394a00b4 if ( not theme ) then InfoBox_6c5560108ad7aaf47e811081394a00b4 = "default"; else InfoBox_6c5560108ad7aaf47e811081394a00b4 = theme; end local count = 0; local index, value; InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); if ( not ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] ) then ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] = {}; end for index, value in pairs(ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4]) do if ( type(index) == "number" and type(value) == "table" ) then if ( value.show ) then count = count + 1; end end end return count; end function ModuleSlotManager_DeleteTheme(InfoBox_73b215e0d0b817b4c834cad97b4a10b5) if ( InfoBox_73b215e0d0b817b4c834cad97b4a10b5 and InfoBox_73b215e0d0b817b4c834cad97b4a10b5 ~= "default" ) then InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5] = nil; end end function ModuleSlotManager_GetDeletableThemeCount() local InfoBox_8f773be0b167f642419e61931adbf917 = ModuleSlotManager_GetDeletableThemes(); local InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = 0; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index , InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_8f773be0b167f642419e61931adbf917) do InfoBox_3f50417fb16be9b1078eb68d24fa9c26 = InfoBox_3f50417fb16be9b1078eb68d24fa9c26 + 1; end return InfoBox_3f50417fb16be9b1078eb68d24fa9c26; end function ModuleSlotManager_GetDeletableThemes() local InfoBox_8f773be0b167f642419e61931adbf917 = {}; local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); if ( not ModuleSlot_Config ) then ModuleSlot_Config = {}; end for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(ModuleSlot_Config) do if ( __index ~= "default" ) then InfoBox_8f773be0b167f642419e61931adbf917[__index] = 1; end end return InfoBox_8f773be0b167f642419e61931adbf917; end function ModuleSlotManager_IsThemeExist(theme) if ( not theme ) then return 1; end InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); if ( ModuleSlot_Config[theme] ) then return 1; end end function ModuleSlotManager_LoadTheme(InfoBox_73b215e0d0b817b4c834cad97b4a10b5) if ( not InfoBox_73b215e0d0b817b4c834cad97b4a10b5 ) then return; end InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); ModuleSlot_Config["default"] = {}; ModuleSlotManager_SetThemeConfig(nil, ModuleSlotManager_GetThemeConfig(InfoBox_73b215e0d0b817b4c834cad97b4a10b5)); end function ModuleSlotManager_SaveTheme(InfoBox_73b215e0d0b817b4c834cad97b4a10b5) if ( not InfoBox_73b215e0d0b817b4c834cad97b4a10b5 ) then return; end ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5] = {}; ModuleSlotManager_SetThemeConfig(InfoBox_73b215e0d0b817b4c834cad97b4a10b5, ModuleSlotManager_GetThemeConfig()); if ( ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5] ) then ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5].settings = {}; ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5].settings.useUiScale = GetCVar("useUiScale"); ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5].chatFrames = {}; ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config[InfoBox_73b215e0d0b817b4c834cad97b4a10b5].chatFrames); end end function ModuleSlotManager_GetThemeConfig(theme) local InfoBox_6c5560108ad7aaf47e811081394a00b4; if ( not theme ) then InfoBox_6c5560108ad7aaf47e811081394a00b4 = "default"; else InfoBox_6c5560108ad7aaf47e811081394a00b4 = theme; end InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); return ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4]; end function InfoBox_2d153585ae5f6b9a605b2306af4370ba(InfoBox_661df5cf42a351958519875c129839ff, InfoBox_2d30ac2113000fcc74db1ec954dd2c4d) local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; if ( type(InfoBox_661df5cf42a351958519875c129839ff) == "table" and type(InfoBox_2d30ac2113000fcc74db1ec954dd2c4d) == "table" ) then for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_661df5cf42a351958519875c129839ff) do InfoBox_661df5cf42a351958519875c129839ff[__index] = nil; end for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_2d30ac2113000fcc74db1ec954dd2c4d) do if ( type(InfoBox_2361bab8b48b1041ad740bb561b21aee) == "table" ) then InfoBox_661df5cf42a351958519875c129839ff[__index] = {}; InfoBox_2d153585ae5f6b9a605b2306af4370ba(InfoBox_661df5cf42a351958519875c129839ff[__index], InfoBox_2361bab8b48b1041ad740bb561b21aee); elseif ( type(InfoBox_2361bab8b48b1041ad740bb561b21aee) ~= "function" ) then InfoBox_661df5cf42a351958519875c129839ff[__index] = InfoBox_2361bab8b48b1041ad740bb561b21aee; end end end end function ModuleSlotManager_SetThemeConfig(theme, config) if ( not config ) then return; end local InfoBox_6c5560108ad7aaf47e811081394a00b4; if ( not theme ) then InfoBox_6c5560108ad7aaf47e811081394a00b4 = "default"; else InfoBox_6c5560108ad7aaf47e811081394a00b4 = theme; end InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] = {}; InfoBox_2d153585ae5f6b9a605b2306af4370ba(ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4], config); end function ModuleSlotManager_GetSlotConfig(id, theme) local InfoBox_6c5560108ad7aaf47e811081394a00b4 if ( not theme ) then InfoBox_6c5560108ad7aaf47e811081394a00b4 = "default"; else InfoBox_6c5560108ad7aaf47e811081394a00b4 = theme; end local slotConfig; if ( type(id) == "string" ) then id = tonumber(id); end InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); if ( id ) then if ( not ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] ) then ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] = {}; end if ( ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id] and ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id].module ) then return ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id]; else if ( ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id] and not ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id].module ) then ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id] = nil; return ModuleSlotManager_GetDefaultConfig(); end if ( ModuleSlotManager_GetValidSlotCount(InfoBox_6c5560108ad7aaf47e811081394a00b4) == 0 ) then else return ModuleSlotManager_GetDefaultConfig(); end return ModuleSlotManager_GetDefaultConfig(); end end end function ModuleSlotManager_SetExtraFrameConfig(config, frame) if ( frame ) then local InfoBox_f5ae94e6ebd696ee37ce7e9c84dbe970 = frame:GetName(); config[InfoBox_f5ae94e6ebd696ee37ce7e9c84dbe970] = {}; config[InfoBox_f5ae94e6ebd696ee37ce7e9c84dbe970].w = frame:GetWidth(); config[InfoBox_f5ae94e6ebd696ee37ce7e9c84dbe970].h = frame:GetHeight(); config[InfoBox_f5ae94e6ebd696ee37ce7e9c84dbe970].t = frame:GetTop(); config[InfoBox_f5ae94e6ebd696ee37ce7e9c84dbe970].l = frame:GetLeft(); end end function InfoBox_bbd0491249d976458f5d2f66c5ba4c86() local InfoBox_73b215e0d0b817b4c834cad97b4a10b5, InfoBox_26b1779745c20ee76d8f20d6565e29d1; for InfoBox_73b215e0d0b817b4c834cad97b4a10b5, InfoBox_26b1779745c20ee76d8f20d6565e29d1 in pairs(ModuleSlot_Config) do if (InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames) then if (InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames.simpleChat) then if (InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames.simpleChat == 1) then InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames = { { ["a"] = 0, ["fontSize"] = 14, ["b"] = 0, ["docked"] = 1, ["t"] = 229.4999939203262, ["g"] = 0, ["h"] = 120, ["w"] = 430, ["isUserPlaced"] = 1, ["name"] = GENERAL, ["shown"] = 1, ["locked"] = 1, ["l"] = 31.99999809265137, ["r"] = 0, ["buttonSide"] = "left", }, { ["a"] = 0, ["fontSize"] = 14, ["b"] = 0, ["docked"] = 2, ["t"] = 229.4999939203262, ["g"] = 0, ["isUserPlaced"] = 1, ["name"] = COMBAT_LOG, ["h"] = 119.9999923706055, ["w"] = 430, ["l"] = 31.99999809265137, ["r"] = 0, ["buttonSide"] = "left", }, }; SIMPLE_CHAT = "0"; FCF_Set_NormalChat(); InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames.simpleChat = nil; else InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames.simpleChat = nil; end end end end end function ModuleSlotManager_UpdateFCFbyConfig(InfoBox_26b1779745c20ee76d8f20d6565e29d1) local __index; if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1 ) then for __index = 1, NUM_CHAT_WINDOWS, 1 do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal("ChatFrame"..__index); if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index] ) then local InfoBox_cb5e6b51f61e8be624cf401876e8ecee = getglobal("ChatFrame"..__index.."Tab"); FCF_SetWindowName(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].name); if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize and InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize == 0 ) then InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize = 14; end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize and InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize ~= 0 ) then FCF_SetChatWindowFontSize(nil, InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize); end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].buttonSide ) then FCF_SetButtonSide(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].buttonSide); end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].isUserPlaced ) then if ( not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.oldIsUserPlaced ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.oldIsUserPlaced = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.IsUserPlaced; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.IsUserPlaced = function () return 1; end; end else if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.oldIsUserPlaced ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.IsUserPlaced = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.oldIsUserPlaced; InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.oldIsUserPlaced = nil; end end FCF_SetWindowColor(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].r, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].g, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].b); FCF_SetWindowAlpha(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].a); local InfoBox_9128fb85b68a332e600da9dd9685a1fa = nil; if ( onUpdateEvent and not InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.isInitialized) then InfoBox_9128fb85b68a332e600da9dd9685a1fa = 1; end FCF_SetLocked(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].locked, InfoBox_9128fb85b68a332e600da9dd9685a1fa); if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].shown ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:Show(); SetChatWindowShown(__index, 1); FCF_SetTabPosition(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, 0); else InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:Hide(); SetChatWindowShown(__index, nil); InfoBox_cb5e6b51f61e8be624cf401876e8ecee:Hide(); end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].docked ) then FCF_DockFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].docked); else if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].shown ) then FCF_UnDockFrame(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); else FCF_Close(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].buttonSide ) then FCF_SetButtonSide(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].buttonSide); end local uiScale = UIParent:GetScale(); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:ClearAllPoints(); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetPoint("TOPLEFT", "UIParent", "BOTTOMLEFT", InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].l, InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].t/uiScale); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetWidth(InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].w); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetHeight(InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].h); else FCF_Close(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); end end end end function InfoBox_2e4e0c1b0796879830a7d4ce09cc1afe(InfoBox_2361bab8b48b1041ad740bb561b21aee) if ( InfoBox_2361bab8b48b1041ad740bb561b21aee ) then return InfoBox_2361bab8b48b1041ad740bb561b21aee; else return "(nil)"; end end function ModuleSlotManager_StoreFCFConfig(InfoBox_26b1779745c20ee76d8f20d6565e29d1) local __index; for __index = 1, NUM_CHAT_WINDOWS, 1 do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal("ChatFrame"..__index); if (InfoBox_411b8aa6d5954c6020f0b9c9e80e847a) then local InfoBox_8983c60d66c8593ec7165ea9dbedb584, InfoBox_13cf045a1e726ef2a0cc9b03216bb491, InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027, InfoBox_0f402d7ba502a47a51c410aee99b1ff1, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7, InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1, InfoBox_3551ed4295844a0f3813507d9f64e4c3, InfoBox_f60965c86fccd81e8c42e13f66ae86cd, InfoBox_18985f1cb0a918bca5ae33cd70a8a7f9 = GetChatWindowInfo(__index); local InfoBox_1136b6033510997afc449b8cabc42221, InfoBox_458d6418b71a73afb3cea0eb7f4f707c = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetFont(); InfoBox_458d6418b71a73afb3cea0eb7f4f707c = floor(InfoBox_458d6418b71a73afb3cea0eb7f4f707c + 0.5); if ( InfoBox_3551ed4295844a0f3813507d9f64e4c3 or InfoBox_18985f1cb0a918bca5ae33cd70a8a7f9 ) then InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index] = {}; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].name = InfoBox_8983c60d66c8593ec7165ea9dbedb584; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].fontSize = InfoBox_458d6418b71a73afb3cea0eb7f4f707c; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].r = InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].g = InfoBox_0f402d7ba502a47a51c410aee99b1ff1; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].b = InfoBox_a0a053cacf1c8c43346fdc3adb684cb7; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].a = InfoBox_e13a96a0ad2aafbc4af618967d6c0dc1; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].locked = InfoBox_f60965c86fccd81e8c42e13f66ae86cd; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].docked = InfoBox_18985f1cb0a918bca5ae33cd70a8a7f9; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].buttonSide = FCF_GetButtonSide(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].shown = InfoBox_3551ed4295844a0f3813507d9f64e4c3; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].isUserPlaced = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:IsUserPlaced(); local uiScale = UIParent:GetScale(); InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].l = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetLeft(); InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].t = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetTop() * uiScale; InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].w = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetWidth(); InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].h = InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:GetHeight(); InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index].buttonSide = FCF_GetButtonSide(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a); else InfoBox_26b1779745c20ee76d8f20d6565e29d1[__index] = nil; end end end end function ModuleSlotManager_SetSlotConfig(id, config, theme) local InfoBox_6c5560108ad7aaf47e811081394a00b4 if ( not theme ) then InfoBox_6c5560108ad7aaf47e811081394a00b4 = "default"; else InfoBox_6c5560108ad7aaf47e811081394a00b4 = theme; end if ( config and config.module ) then local slotConfig; if ( type(id) == "string" ) then id = tonumber(id); end if ( id and getglobal("ModuleSlot"..id) ) then InfoBox_a4c4a5ef7b71ef36bc5dd39a5f77b5df(); if ( not ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] ) then ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4] = {}; end ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4][id] = config; if ( not ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4].ef ) then ModuleSlot_Config[InfoBox_6c5560108ad7aaf47e811081394a00b4].ef = {}; end end end end function ModuleSlotManager_UpdateSlot(id) if ( type(id) == "string" ) then id = tonumber(id); end if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); local alpha; if ( config.hideBackground ) then backAlpha = 0.0; borderAlpha = 0.0; else backAlpha = config.backColor.a; borderAlpha = config.borderColor.a; end local moduleSlot = getglobal("ModuleSlot"..id); if ( moduleSlot ) then ModuleSlot_SetBackColor(moduleSlot, config.backColor.r, config.backColor.g, config.backColor.b, backAlpha); ModuleSlot_SetBorderColor(moduleSlot, config.borderColor.r, config.borderColor.g, config.borderColor.b, borderAlpha); if ( config.show or config.module ) then moduleSlot:Show(); else moduleSlot:Hide(); end moduleSlot:SetWidth(config.width); moduleSlot:SetHeight(config.height); local uiScale = UIParent:GetScale(); moduleSlot:ClearAllPoints(); moduleSlot:SetPoint("TOPLEFT", "UIParent", "BOTTOMLEFT", config.left, config.top/uiScale); BigFoot_DelayCall(ModuleSlotManager_UpdateSlotPos, 1, id); end if ( config.module ) then if ( config.fullHide ) then InfoBox_c78eaae15a7c292464a323fbf46084ad(id, config.module); else InfoBox_2a1a344bfece04902544a45816428e00(id, config.module); end end if ( config.scale ) then InfoBox_d9d0697b807a5eb90bf993b27ba2d646(config.module, config.scale); end end end function ModuleSlotManager_UpdateSlotPos(id) if ( type(id) == "string" ) then id = tonumber(id); end if ( id ) then local config = ModuleSlotManager_GetSlotConfig(id); local moduleSlot = getglobal("ModuleSlot"..id); if ( moduleSlot ) then moduleSlot:SetWidth(config.width); moduleSlot:SetHeight(config.height); local uiScale = UIParent:GetScale(); moduleSlot:ClearAllPoints(); moduleSlot:SetPoint("TOPLEFT", "UIParent", "BOTTOMLEFT", config.left, config.top/uiScale); end end end function ModuleSlotManager_SetExtraFramePos(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_26b1779745c20ee76d8f20d6565e29d1) InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:ClearAllPoints(); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetPoint("TOPLEFT", "UIParent", "BOTTOMLEFT", InfoBox_26b1779745c20ee76d8f20d6565e29d1.l, InfoBox_26b1779745c20ee76d8f20d6565e29d1.t); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetWidth(InfoBox_26b1779745c20ee76d8f20d6565e29d1.w); InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetHeight(InfoBox_26b1779745c20ee76d8f20d6565e29d1.h); end function ModuleSlotManager_UpdateExtraFrame(theme) if ( ModuleSlot_Config[theme] ) then if ( ModuleSlot_Config["default"].ef ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(ModuleSlot_Config["default"].ef) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(__index); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then ModuleSlotManager_SetExtraFramePos(InfoBox_411b8aa6d5954c6020f0b9c9e80e847a, InfoBox_2361bab8b48b1041ad740bb561b21aee); end end end end end function ModuleSlotManager_UpdateUI() local __index; for __index = 1, InfoBox_e54fa040f3aa64d6d29c632235e6687c, 1 do ModuleSlotManager_UpdateSlot(__index); end local InfoBox_26b1779745c20ee76d8f20d6565e29d1 = ModuleSlotManager_GetThemeConfig("default"); if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1 and InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames ) then ModuleSlotManager_UpdateFCFbyConfig(InfoBox_26b1779745c20ee76d8f20d6565e29d1.chatFrames); end if ( InfoBox_26b1779745c20ee76d8f20d6565e29d1 and InfoBox_26b1779745c20ee76d8f20d6565e29d1.settings and InfoBox_26b1779745c20ee76d8f20d6565e29d1.settings.useUiScale=="1" and InfoBox_26b1779745c20ee76d8f20d6565e29d1.settings.uiscale~="1") then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_d9697eeda87eabe23796b67b987c5b66) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(__index); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a and InfoBox_411b8aa6d5954c6020f0b9c9e80e847a.SetScale ) then if ( InfoBox_2361bab8b48b1041ad740bb561b21aee > 0 ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetScale(InfoBox_2361bab8b48b1041ad740bb561b21aee); else InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:SetScale(1.0); end end end end end function ModuleSlot_OnLoad(self) self:RegisterEvent("ADDON_LOADED"); end function ModuleSlot_OnEvent(self, InfoBox_d0708241b607c9a9dd1953c812fadfb7, ...) local InfoBox_1652701c940a7445a6e43b954d36ec9b = ...; if ( InfoBox_d0708241b607c9a9dd1953c812fadfb7 == "ADDON_LOADED" and InfoBox_1652701c940a7445a6e43b954d36ec9b == "InfoBox" ) then local id = tonumber(self:GetID()); if ( id ) then end elseif ( self.eventHandlers and type(self.eventHandlers) == "table" ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(self.eventHandlers) do if ( type(InfoBox_2361bab8b48b1041ad740bb561b21aee) == "function" ) then InfoBox_2361bab8b48b1041ad740bb561b21aee(self, InfoBox_d0708241b607c9a9dd1953c812fadfb7, ...); end end end end function ModuleSlot_TabFadeFinished(slotTab, moduleSlot) slotTab:Hide(); local id = moduleSlot:GetID(); local config; if ( id ) then config = ModuleSlotManager_GetSlotConfig(id); end if ( config.hideBackground ) then moduleSlot.oldBackAlpha = 0.0; moduleSlot.oldBorderAlpha = 0.0; else moduleSlot.oldBackAlpha = nil; moduleSlot.oldBorderAlpha = nil; end end function ModuleSlot_TextFadeOutFinished(InfoBox_273558295cccc561275948ee8997e1ec, InfoBox_e18d4ea9e37be4577815ef966057d987) InfoBox_273558295cccc561275948ee8997e1ec:SetText(""); end function ModuleSlot_HotKey() return (IsControlKeyDown() and IsAltKeyDown()); end function InfoBox_c1ab1e8876c936677f7461c878b40b09() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if ( ModuleSlot_Config["default"] ) then if ( not ModuleSlot_Config["default"].chatFrames ) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlot_Config["default"].settings = {}; ModuleSlot_Config["default"].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config["default"].settings.useUiScale = GetCVar("useUiScale"); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end end function InfoBox_4ac5a526895b969a2ec95f9d1c562908() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if ( ModuleSlot_Config["default"] ) then if ( not ModuleSlot_Config["default"].chatFrames ) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlot_Config["default"].settings = {}; ModuleSlot_Config["default"].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config["default"].settings.useUiScale = GetCVar("useUiScale"); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end end function InfoBox_4c255727f04786b8587ac5f173c29c7b(self) if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if (ModuleSlot_Config["default"] and not ModuleSlot_Config["default"].chatFrames) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end function InfoBox_249f9c3fc622b23bb2f50f2383301133(chatFrame) if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if (ModuleSlot_Config["default"] and not ModuleSlot_Config["default"].chatFrames) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end function InfoBox_5bd9271ddad22f68f2566b17fb019100() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if (ModuleSlot_Config["default"] and not ModuleSlot_Config["default"].chatFrames) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end function InfoBox_0e72a549a3613c16db36e854b2d01f81() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if ( ModuleSlot_Config["default"] ) then if ( not ModuleSlot_Config["default"].chatFrames ) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlot_Config["default"].settings = {}; ModuleSlot_Config["default"].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config["default"].settings.useUiScale = GetCVar("useUiScale"); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end end function InfoBox_3a84a20b3db7a5786295c633df7e297f() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if ( ModuleSlot_Config["default"] ) then if ( not ModuleSlot_Config["default"].chatFrames ) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlot_Config["default"].settings = {}; ModuleSlot_Config["default"].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config["default"].settings.useUiScale = GetCVar("useUiScale"); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end end function InfoBox_8f702cfc71f0179a20192f8655408857() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if ( ModuleSlot_Config["default"] ) then if ( not ModuleSlot_Config["default"].chatFrames ) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlot_Config["default"].settings = {}; ModuleSlot_Config["default"].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config["default"].settings.useUiScale = GetCVar("useUiScale"); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end end function InfoBox_f6b30759a9d74a84da8759da7ed25da9() if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end if ( ModuleSlot_Config["default"] ) then if ( not ModuleSlot_Config["default"].chatFrames ) then ModuleSlot_Config["default"].chatFrames = {}; end ModuleSlot_Config["default"].settings = {}; ModuleSlot_Config["default"].settings.uiscale = GetCVar("uiscale"); ModuleSlot_Config["default"].settings.useUiScale = GetCVar("useUiScale"); ModuleSlotManager_StoreFCFConfig(ModuleSlot_Config["default"].chatFrames); end end function ModuleSlot_MainUpdate(self, elapsed) if (not InfoBox_47c8c46b5c1bdeb40b4a2a267f6824a0) then return; end InfoBox_a907d034bb113e555a8e9c69d7f6214a = InfoBox_a907d034bb113e555a8e9c69d7f6214a + elapsed; if (InfoBox_a907d034bb113e555a8e9c69d7f6214a > 0.1) then local xPos, yPos = GetCursorPosition(); if ( yPos > 764) and (MouseIsOver(InfoBoxToolBar, 0, 0, 0, 0) and not InfoBoxToolBar:IsVisible() and not InCombatLockdown() ) then PlaySound("igCharacterInfoOpen"); InfoBoxToolBar:Show(); elseif ( yPos < 428 and InfoBoxToolBar:IsVisible() ) then InfoBoxToolBar:Hide(); elseif (InCombatLockdown() and InfoBoxToolBar:IsVisible()) then InfoBoxToolBar:Hide(); end end if (not MODULESLOT_LOCKALL) then else if (InfoBox_a907d034bb113e555a8e9c69d7f6214a > 1) then InfoBox_a907d034bb113e555a8e9c69d7f6214a = 0; else return; end end local moduleSlotFrame, moduleSlotTab; local config; local dropdownMenu; for j=1, InfoBox_e54fa040f3aa64d6d29c632235e6687c, 1 do moduleSlot = getglobal("ModuleSlot"..j); slotTab = getglobal("ModuleSlot"..j.."Tab"); dropdownMenu = getglobal(slotTab:GetName().."DropDown"); config = ModuleSlot_Config["default"][j]; if ( config and moduleSlot and ModuleSlot_CanSlotBeActived(moduleSlot) ) then if ( ModuleSlot_HotKey() or not MODULESLOT_LOCKALL ) then if ( moduleSlot.hover ) then if ( moduleSlot.oldX == xPos and moduleSlot.oldY == yPos ) then moduleSlot.hoverTime = moduleSlot.hoverTime + elapsed; else moduleSlot.hoverTime = 0; moduleSlot.oldX = xPos; moduleSlot.oldY = yPos; end if ( (moduleSlot.hoverTime > InfoBox_e4f20a49999f5b02dbdae5db8cdec4af) or (InfoBox_bcbe75ef515586e0877c204b87f986d2) ) then slotTab:Show(); slotTab:SetFrameLevel(9); if ( not moduleSlot.hasBeenFaded and (moduleSlot.oldBackAlpha and moduleSlot.oldBackAlpha < config.backColor.a) ) then for index, value in pairs(InfoBox_0027b0cd193bc161e643499b8f62067d) do UIFrameFadeIn(getglobal(moduleSlot:GetName()..value), InfoBox_9892e021667ceaf02a0adc91d3dccbdc, moduleSlot.oldBackAlpha, config.backColor.a); end for index, value in pairs(InfoBox_cf529d6ac7648fc66f6a0b105dfe7b45) do local InfoBox_273558295cccc561275948ee8997e1ec = getglobal(moduleSlot:GetName()..value); if (InfoBox_273558295cccc561275948ee8997e1ec and InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[moduleSlot.InfoBox_f9da61d0483af6cef16512c8cc1a8586] and InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[moduleSlot.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e6955c64cf39bdb23dc86de1a9ec2117) then if (InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[moduleSlot.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e78d229014c7a07be65fde4797b92c86 ~= INFOBOX_CATEGORY_INFOTIP) then InfoBox_273558295cccc561275948ee8997e1ec:SetText(InfoBox_5eda5ca97a6f24faeb918f25bb2db5c9[moduleSlot.InfoBox_f9da61d0483af6cef16512c8cc1a8586].InfoBox_e6955c64cf39bdb23dc86de1a9ec2117); end UIFrameFadeIn(InfoBox_273558295cccc561275948ee8997e1ec, InfoBox_9892e021667ceaf02a0adc91d3dccbdc, moduleSlot.oldBackAlpha, 1.0); end end end if ( not moduleSlot.hasBeenFaded and (moduleSlot.oldBorderAlpha and moduleSlot.oldBorderAlpha < config.borderColor.a) ) then for index, value in pairs(InfoBox_33d1d63006cc0a4d5aa43c241be8fc17) do UIFrameFadeIn(getglobal(moduleSlot:GetName()..value), InfoBox_9892e021667ceaf02a0adc91d3dccbdc, moduleSlot.oldBorderAlpha, config.borderColor.a); end end moduleSlot.hasBeenFaded = 1; if ( not slotTab.hasBeenFaded ) then UIFrameFadeIn(slotTab, InfoBox_9892e021667ceaf02a0adc91d3dccbdc); slotTab.hasBeenFaded = 1; slotTab.oldAlpha = 1; end end else moduleSlot.hover = 1; moduleSlot.hoverTime = 0; moduleSlot.hasBeenFaded = nil; slotTab.hasBeenFaded = nil; MODULESLOT_CURSOR_OLD_X, MODULESLOT_CURSOR_OLD_Y = GetCursorPosition(); if ( not moduleSlot.oldBackAlpha ) then moduleSlot.oldBackAlpha = getglobal(moduleSlot:GetName().."Background"):GetAlpha(); end if ( not moduleSlot.oldBorderAlpha ) then moduleSlot.oldBorderAlpha = getglobal(moduleSlot:GetName().."ResizeTopLeftTexture"):GetAlpha(); end end else if ( moduleSlot.oldBackAlpha ) then if ( config.hideBackground ) then moduleSlot.oldBackAlpha = 0.0; else moduleSlot.oldBackAlpha = 1.0; end end if ( moduleSlot.oldBorderAlpha ) then if ( config.hideBackground ) then moduleSlot.oldBorderAlpha = 0.0; else moduleSlot.oldBorderAlpha = 1.0; end end if ( moduleSlot.hasBeenFaded and moduleSlot.oldBackAlpha and moduleSlot.oldBackAlpha < config.backColor.a ) then for index, value in pairs(InfoBox_0027b0cd193bc161e643499b8f62067d) do local frame = getglobal(moduleSlot:GetName()..value); UIFrameFadeOut(getglobal(moduleSlot:GetName()..value), InfoBox_9892e021667ceaf02a0adc91d3dccbdc, config.backColor.a, moduleSlot.oldBackAlpha); end for index, value in pairs(InfoBox_cf529d6ac7648fc66f6a0b105dfe7b45) do local frame = getglobal(moduleSlot:GetName()..value); local fadeInfo = {}; fadeInfo.mode = "OUT"; fadeInfo.startAlpha = 1.0; fadeInfo.timeToFade = InfoBox_9892e021667ceaf02a0adc91d3dccbdc; fadeInfo.finishedArg1 = frame; fadeInfo.finishedArg2 = moduleSlot; fadeInfo.finishedFunc = ModuleSlot_TextFadeOutFinished; UIFrameFade(getglobal(moduleSlot:GetName()..value), fadeInfo); end end if ( moduleSlot.hasBeenFaded and moduleSlot.oldBorderAlpha and moduleSlot.oldBorderAlpha < config.borderColor.a ) then for index, value in pairs(InfoBox_33d1d63006cc0a4d5aa43c241be8fc17) do local frame = getglobal(moduleSlot:GetName()..value); UIFrameFadeOut(getglobal(moduleSlot:GetName()..value), InfoBox_9892e021667ceaf02a0adc91d3dccbdc, config.borderColor.a, moduleSlot.oldBorderAlpha); end moduleSlot.hover = nil; moduleSlot.hasBeenFaded = nil; end if ( slotTab.hasBeenFaded ) then local fadeInfo = {}; fadeInfo.mode = "OUT"; fadeInfo.startAlpha = slotTab.oldAlpha; fadeInfo.timeToFade = InfoBox_9892e021667ceaf02a0adc91d3dccbdc; fadeInfo.finishedArg1 = slotTab; fadeInfo.finishedArg2 = moduleSlot; fadeInfo.finishedFunc = ModuleSlot_TabFadeFinished; UIFrameFade(slotTab, fadeInfo); moduleSlot.hover = nil; slotTab.hasBeenFaded = nil; end moduleSlot.hoverTime = 0; end end end end function ModuleSlot_Report(InfoBox_6d5e7d83d8358745ae4dcf61d16bd1f3, InfoBox_c9bd86bc8bc59457d49315cf5b8c5b88, ...) if ( not InfoBox_c9bd86bc8bc59457d49315cf5b8c5b88 ) then return; end local InfoBox_e0e85008d0859db6bb769f09cf1b7b30; if ( InfoBox_6d5e7d83d8358745ae4dcf61d16bd1f3 == "error" ) then InfoBox_e0e85008d0859db6bb769f09cf1b7b30 = {InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027=1.0, InfoBox_0f402d7ba502a47a51c410aee99b1ff1=0.0, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7=0.0}; elseif ( InfoBox_6d5e7d83d8358745ae4dcf61d16bd1f3 == "info" ) then InfoBox_e0e85008d0859db6bb769f09cf1b7b30 = {InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027=1.0, InfoBox_0f402d7ba502a47a51c410aee99b1ff1=1.0, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7=0.0}; else InfoBox_e0e85008d0859db6bb769f09cf1b7b30 = {InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027=1.0, InfoBox_0f402d7ba502a47a51c410aee99b1ff1=1.0, InfoBox_a0a053cacf1c8c43346fdc3adb684cb7=1.0}; end local arg = {...}; local InfoBox_eed0be1c2d5f65980b06b5094460c3c5 = format(InfoBox_c9bd86bc8bc59457d49315cf5b8c5b88, unpack(arg)); DEFAULT_CHAT_FRAME:AddMessage(InfoBox_eed0be1c2d5f65980b06b5094460c3c5, InfoBox_e0e85008d0859db6bb769f09cf1b7b30.InfoBox_3ae1f2c4b38d5f7c356b4cdb7c6e4027, InfoBox_e0e85008d0859db6bb769f09cf1b7b30.InfoBox_0f402d7ba502a47a51c410aee99b1ff1, InfoBox_e0e85008d0859db6bb769f09cf1b7b30.InfoBox_a0a053cacf1c8c43346fdc3adb684cb7); end function InfoBox_d5e1368d050c2c2c14a633c494c0b74e(InfoBox_ac0723394133c458cf0a253e512eae56) PlayerFrame:ClearAllPoints(); PlayerFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", -30, 10); end function InfoBox_8f4193a2ed6125d2acfbe7ddc511ccbe(InfoBox_ac0723394133c458cf0a253e512eae56) PlayerFrame:ClearAllPoints(); PlayerFrame:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", -19, -4); end function InfoBox_f5ed56f12da9410cba760304a771aa34(InfoBox_ac0723394133c458cf0a253e512eae56) PlayerFrame:Hide(); end function InfoBox_31b69fc011628cd8329323567ae71006(InfoBox_ac0723394133c458cf0a253e512eae56) PlayerFrame:Show(); end function InfoBox_1248dd55e8d8c9b4abc1757f4c108f60(InfoBox_ac0723394133c458cf0a253e512eae56) TargetFrame:ClearAllPoints(); TargetFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 0, 10); end function InfoBox_371a5865d81fccab48c8720e7007b37a(InfoBox_ac0723394133c458cf0a253e512eae56) if ( PorEnhanceFrame and PorEnhanceFrame:IsVisible() ) then TargetFrame:ClearAllPoints(); TargetFrame:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", 285, -4); else TargetFrame:ClearAllPoints(); TargetFrame:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", 250, -4); end end function InfoBox_60b47539a99b2a25641142ca7738af77(InfoBox_ac0723394133c458cf0a253e512eae56) TargetFrame:Hide(); end function InfoBox_73490b693492f4819c4517eaac48abb9(InfoBox_ac0723394133c458cf0a253e512eae56) if ( UnitExists("target") ) then TargetFrame:Show(); else TargetFrame:Hide(); end end function InfoBox_2c91a85dfceb249556ee26927f8fb357(InfoBox_ac0723394133c458cf0a253e512eae56) PartyMemberFrame1:ClearAllPoints(); PartyMemberFrame1:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, 5); end function InfoBox_3db8bb2f6ca757fe833859d2d66b39c9(InfoBox_ac0723394133c458cf0a253e512eae56) PartyMemberFrame1:ClearAllPoints(); PartyMemberFrame1:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", 10, -128); end function InfoBox_7537c364ddc98e9adff4a4cacd9b19ed(InfoBox_ac0723394133c458cf0a253e512eae56) local __index = 1; while ( GetPartyMember(__index) ) do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal("PartyMemberFrame"..__index); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:Show(); end __index = __index + 1; end end function InfoBox_ac8a5e61696caee82eef0b94e3ff0138(InfoBox_ac0723394133c458cf0a253e512eae56) PartyMemberFrame1:Hide(); PartyMemberFrame2:Hide(); PartyMemberFrame3:Hide(); PartyMemberFrame4:Hide(); end function InfoBox_78eb7c7a3d20d4bd7e37dfb165fec95f(InfoBox_ac0723394133c458cf0a253e512eae56) MainMenuBarBackpackButton:ClearAllPoints(); MainMenuBarBackpackButton:SetPoint("BOTTOMRIGHT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 210, -42); end function InfoBox_863d13f5998a8c253417e043389e6adb(InfoBox_ac0723394133c458cf0a253e512eae56) MainMenuBarBackpackButton:SetPoint("BOTTOMRIGHT", "MainMenuBarArtFrame", "BOTTOMRIGHT", -6, 2); end function InfoBox_8915727e13930a3cff0006ffdbcd044b(InfoBox_ac0723394133c458cf0a253e512eae56) MainMenuBarBackpackButton:Show(); CharacterBag0Slot:Show(); CharacterBag1Slot:Show(); CharacterBag2Slot:Show(); CharacterBag3Slot:Show(); if ( BSM_BarLabels ) then BSM_BarLabels:Show(); end if ( BSM_Bars ) then BSM_Bars:Show(); end end function InfoBox_ffba9c981ab87d2cca0dc50d7ea05394(InfoBox_ac0723394133c458cf0a253e512eae56) MainMenuBarBackpackButton:Hide(); CharacterBag0Slot:Hide(); CharacterBag1Slot:Hide(); CharacterBag2Slot:Hide(); CharacterBag3Slot:Hide(); if ( BSM_BarLabels ) then BSM_BarLabels:Hide(); end if ( BSM_Bars ) then BSM_Bars:Hide(); end end function InfoBox_78eb7c7a3d20d4bd7e37dfb165fec95f(InfoBox_ac0723394133c458cf0a253e512eae56) MainMenuBarBackpackButton:ClearAllPoints(); MainMenuBarBackpackButton:SetPoint("BOTTOMRIGHT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 210, -42); end function InfoBox_863d13f5998a8c253417e043389e6adb(InfoBox_ac0723394133c458cf0a253e512eae56) MainMenuBarBackpackButton:ClearAllPoints(); MainMenuBarBackpackButton:SetPoint("BOTTOMRIGHT", "MainMenuBarArtFrame", "BOTTOMRIGHT", -6, 2); end function InfoBox_681ebc85aca0088edbd7200495e6fbe4(InfoBox_ac0723394133c458cf0a253e512eae56) ActionButton1:ClearAllPoints(); ActionButton1:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -5); if (not InfoBox_14bd3b46801c67a61cdc231d79a52920) then InfoBox_14bd3b46801c67a61cdc231d79a52920 = CreateFrame("Frame", "ActionBarAnchorFrame", UIParent, "SecureHandlerStateTemplate"); end for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("ActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetParent(InfoBox_14bd3b46801c67a61cdc231d79a52920); end for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("BonusActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetParent(InfoBox_14bd3b46801c67a61cdc231d79a52920); end InfoBox_14bd3b46801c67a61cdc231d79a52920:SetFrameRef("bonus_frame", BonusActionBarFrame); InfoBox_14bd3b46801c67a61cdc231d79a52920:Execute([[ buttons = table.new(self:GetChildren()); ]]); RegisterStateDriver(InfoBox_14bd3b46801c67a61cdc231d79a52920, "vis", "[bonusbar:1] hide;[bonusbar:2] hide;[bonusbar:3] hide;[bonusbar:4] hide;[bonusbar:5] hide;show"); InfoBox_14bd3b46801c67a61cdc231d79a52920:SetAttribute("_onstate-vis", [[ if (newstate == "show") then local InfoBox_e914904fab9d05d3f54d52bfc31a0f3f; local InfoBox_cbae6d9bcbbea444bffd51d0ee271fdc = self:GetFrameRef("bonus_frame"); InfoBox_cbae6d9bcbbea444bffd51d0ee271fdc:Hide(); for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f, InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 in ipairs(buttons) do if (strsub(InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:GetName(), 0, 5) == "Bonus") then InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Hide(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", 1); else InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Show(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", nil); end end elseif (newstate == "hide") then local InfoBox_e914904fab9d05d3f54d52bfc31a0f3f; local InfoBox_cbae6d9bcbbea444bffd51d0ee271fdc = self:GetFrameRef("bonus_frame"); InfoBox_cbae6d9bcbbea444bffd51d0ee271fdc:Show(); for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f, InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 in ipairs(buttons) do if (strsub(InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:GetName(), 0, 5) == "Bonus") then InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Show(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", nil); else InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Hide(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", 1); end end end ]] ); BonusActionBarFrame:DisableDrawLayer("OVERLAY"); BonusActionBarFrame:SetFrameStrata("LOW"); if ( GetBonusBarOffset() > 0 ) then BonusActionBarFrame:ClearAllPoints(); BonusActionBarFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 0, -3); for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("ActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:UnregisterEvent("PLAYER_ENTERING_WORLD"); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Hide(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", 1); end for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("BonusActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Show(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", nil); end else BonusActionBarFrame:ClearAllPoints(); BonusActionBarFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 0, -2); for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("ActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:RegisterEvent("PLAYER_ENTERING_WORLD"); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", nil); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Show(); end for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("BonusActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Hide(); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", 1); end end end function InfoBox_065f033e6f6c8541202692ecb3c9829b(InfoBox_ac0723394133c458cf0a253e512eae56) local InfoBox_0793149f82d0d5b8930bd367071e02d1; if (GetBonusBarOffset() > 0) then InfoBox_0793149f82d0d5b8930bd367071e02d1 = true; end BonusActionBarFrame:EnableDrawLayer("OVERLAY"); BonusActionBarFrame:SetFrameStrata("HIGH"); BonusActionBarFrame:SetParent(MainMenuBar); if (InfoBox_0793149f82d0d5b8930bd367071e02d1) then BonusActionBarFrame:ClearAllPoints(); BonusActionBarFrame:SetPoint("TOPLEFT", "MainMenuBar", "BOTTOMLEFT", BONUSACTIONBAR_XPOS, BONUSACTIONBAR_YPOS); BonusActionBar_SetButtonTransitionState(BonusActionBarFrame, nil); else BonusActionBarFrame:ClearAllPoints(); BonusActionBarFrame:SetPoint("TOPLEFT", "MainMenuBar", "BOTTOMLEFT", BONUSACTIONBAR_XPOS, 0); BonusActionBar_SetButtonTransitionState(BonusActionBarFrame, 1); end for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("BonusActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetParent(BonusActionBarFrame); end local InfoBox_e914904fab9d05d3f54d52bfc31a0f3f; local InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5; for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("ActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetParent(MainMenuBarArtFrame); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:RegisterEvent("PLAYER_ENTERING_WORLD"); if (InfoBox_0793149f82d0d5b8930bd367071e02d1) then InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Hide(); else InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Show(); end InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", nil); end for InfoBox_e914904fab9d05d3f54d52bfc31a0f3f = 1, NUM_ACTIONBAR_BUTTONS, 1 do InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5 = getglobal("BonusActionButton"..InfoBox_e914904fab9d05d3f54d52bfc31a0f3f); InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetParent(BonusActionBarFrame); if (InfoBox_0793149f82d0d5b8930bd367071e02d1) then InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Show(); else InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:Hide(); end InfoBox_99f3cf2c6f1fdfadb0fd4ab6e0843bf5:SetAttribute("statehidden", nil); end ActionButton1:ClearAllPoints(); ActionButton1:SetPoint("BOTTOMLEFT", "MainMenuBarArtFrame", "BOTTOMLEFT", 8, 4); ActionBar_PageUp(); ActionBar_PageDown(); if (InfoBox_14bd3b46801c67a61cdc231d79a52920) then UnregisterStateDriver(InfoBox_14bd3b46801c67a61cdc231d79a52920, "vis"); end end function InfoBox_552b8d01bf03cd70a410458fe4a5c4e8(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarBottomLeft:ClearAllPoints(); MultiBarBottomLeft:SetPoint("BOTTOMLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -40); MultiBarBottomLeft:SetFrameStrata("LOW"); MultiBarBottomLeft:Show(); ModuleSlot_MaskShowFrame(MultiBarBottomLeft); end function InfoBox_32b408299b167e8e84a81d1eebf980c6(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarBottomLeft:ClearAllPoints(); MultiBarBottomLeft:SetPoint("BOTTOMLEFT", "MainMenuBarArtFrame", "BOTTOMLEFT", 8, 52); MultiBarBottomLeft:SetFrameStrata("HIGH"); ModuleSlot_UnmaskShowFrame(MultiBarBottomLeft); MultiActionBar_Update(); UIParent_ManageFramePositions(); end function InfoBox_8f5ea02da4b2a627dc539e9b86fc5f73() MultiBarBottomLeft:Hide(); end function InfoBox_b31345324872188f959366560f44c8e2() MultiBarBottomLeft:Show(); end function InfoBox_514c55f9ad498778e21068c1029c700a(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarBottomRight:ClearAllPoints(); MultiBarBottomRight:SetPoint("BOTTOMLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -40); MultiBarBottomRight:SetFrameStrata("LOW"); MultiBarBottomRight:Show(); ModuleSlot_MaskShowFrame(MultiBarBottomRight); end function InfoBox_e74b7c1c5c141a228b785143b72d7c77(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarBottomRight:ClearAllPoints(); MultiBarBottomRight:SetPoint("LEFT", "MultiBarBottomLeft", "RIGHT", 10, 0); MultiBarBottomRight:SetFrameStrata("HIGH"); ModuleSlot_UnmaskShowFrame(MultiBarBottomRight); MultiActionBar_Update(); end function InfoBox_918d6004e47e0eabead32645b6d4e431() MultiBarBottomRight:Hide(); end function InfoBox_2bf6202e7e518da1cccadb37a4d43082() MultiBarBottomRight:Show(); end function InfoBox_789ae9c393d9533981fac1b6b5a873a6(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarRight:ClearAllPoints(); MultiBarRight:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -5); MultiBarRight:SetFrameStrata("LOW"); MultiBarRight:Show(); ModuleSlot_MaskShowFrame(MultiBarRight); end function InfoBox_d16399e96df715172e446adb498fac59(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarRight:ClearAllPoints(); MultiBarRight:SetPoint("BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -7, 98); MultiBarRight:SetFrameStrata("HIGH"); ModuleSlot_UnmaskShowFrame(MultiBarRight); MultiActionBar_Update(); UIParent_ManageFramePositions(); end function InfoBox_f8214fb975035c936aba1b52571e5cee() MultiBarRight:Hide(); end function InfoBox_487d7354270c190e63a48e487b04869f() MultiBarRight:Show(); end function InfoBox_02827ec780b0ff97886b336dc4340a22(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarLeft:ClearAllPoints(); MultiBarLeft:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -5); MultiBarLeft:SetFrameStrata("LOW"); MultiBarLeft:Show(); ModuleSlot_MaskShowFrame(MultiBarLeft); end function InfoBox_de5a88c6c83a69388d953cbf6520f230(InfoBox_ac0723394133c458cf0a253e512eae56) MultiBarLeft:ClearAllPoints(); MultiBarLeft:SetPoint("TOPRIGHT", "MultiBarRight", "TOPLEFT", -5, 0); MultiBarLeft:SetFrameStrata("HIGH"); ModuleSlot_UnmaskShowFrame(MultiBarLeft); MultiActionBar_Update(); UIParent_ManageFramePositions(); end function InfoBox_682d97c3ab90539b516a11122b6759a4() MultiBarLeft:Hide(); end function InfoBox_87ad84ec8afca30448aaddabb9315d27() MultiBarLeft:Show(); end function InfoBox_280435975c195f281919562bb501bc46(InfoBox_ac0723394133c458cf0a253e512eae56) ShapeshiftBarFrame:DisableDrawLayer("BACKGROUND"); ShapeshiftBarFrame:DisableDrawLayer("BORDER"); ShapeshiftBarFrame:ClearAllPoints(); ShapeshiftBarFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", -1, 0); PetActionBarFrame:ClearAllPoints(); if (GetNumShapeshiftForms() > 0) then PetActionBarFrame:SetPoint("LEFT", getglobal("ShapeshiftButton"..GetNumShapeshiftForms()), "RIGHT", -15, 5); else PetActionBarFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", -30, 10); end end function InfoBox_4b755a1a4c937071880c2ad14771f5d5(InfoBox_ac0723394133c458cf0a253e512eae56) ShapeshiftBarFrame:ClearAllPoints(); ShapeshiftBar_Update(); UIParent_ManageFramePositions(); ShapeshiftBarFrame:EnableDrawLayer("BACKGROUND"); ShapeshiftBarFrame:EnableDrawLayer("BORDER"); end function InfoBox_d2ff082d8fb6073efdfc862320c14a98() PetActionBarFrame:Hide(); ShapeshiftBarFrame:Hide(); end function InfoBox_5b0faef1e9f94de898d634bd9cc7d736() ShowPetActionBar(); ShapeshiftBar_Update(); end function InfoBox_5eedd96e86e7d316eaf2d0371eb4fff1(InfoBox_ac0723394133c458cf0a253e512eae56) CharacterMicroButton:ClearAllPoints(); CharacterMicroButton:SetPoint("BOTTOMLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -37); MainMenuExpBar:SetWidth(1); MainMenuExpBar:SetHeight(1); MainMenuExpBar:DisableDrawLayer("BORDER"); MainMenuExpBar:DisableDrawLayer("OVERLAY"); MainMenuExpBar:DisableDrawLayer("BACKGROUND"); MainMenuBarExpText:Hide(); MainMenuBarMaxLevelBar:DisableDrawLayer("BACKGROUND"); MainMenuBarArtFrame:DisableDrawLayer("BACKGROUND"); MainMenuBarArtFrame:DisableDrawLayer("OVERLAY"); MainMenuBarArtFrame:DisableDrawLayer("ARTWORK"); MainMenuBar:EnableMouse(false); ActionBarUpButton:Hide(); ActionBarDownButton:Hide(); PetActionBarFrame:DisableDrawLayer("OVERLAY"); ShapeshiftBarFrame:DisableDrawLayer("OVERLAY"); BonusActionBarFrame:DisableDrawLayer("OVERLAY"); ExhaustionTick:Hide(); ReputationWatchBar:Hide(); ModuleSlot_MaskShowFrame(ExhaustionTick); ModuleSlot_MaskShowFrame(ReputationWatchBar); end function InfoBox_74b84417f7f18fb5b81115135f5ed7f4(InfoBox_ac0723394133c458cf0a253e512eae56) CharacterMicroButton:ClearAllPoints(); CharacterMicroButton:SetPoint("BOTTOMLEFT", "MainMenuBarArtFrame", "BOTTOMLEFT", 546, 2); MainMenuExpBar:SetWidth(1024); MainMenuExpBar:SetHeight(13); MainMenuExpBar:EnableDrawLayer("BORDER"); MainMenuExpBar:EnableDrawLayer("BACKGROUND"); MainMenuExpBar:EnableDrawLayer("OVERLAY"); MainMenuBarExpText:Show(); MainMenuBarMaxLevelBar:EnableDrawLayer("BACKGROUND"); MainMenuBarArtFrame:EnableDrawLayer("BACKGROUND"); MainMenuBarArtFrame:EnableDrawLayer("ARTWORK"); MainMenuBarArtFrame:EnableDrawLayer("OVERLAY"); MainMenuBar:EnableMouse(true); ActionBarUpButton:Show(); ActionBarDownButton:Show(); PetActionBarFrame:EnableDrawLayer("OVERLAY"); ShapeshiftBarFrame:EnableDrawLayer("OVERLAY"); BonusActionBarFrame:EnableDrawLayer("OVERLAY"); ModuleSlot_UnmaskShowFrame(ExhaustionTick); ModuleSlot_UnmaskShowFrame(ReputationWatchBar); ExhaustionTick_OnEvent(ExhaustionTick, "UPDATE_EXHAUSTION"); ReputationWatchBar_Update(); end function InfoBox_96cf6bdedaaad1488915027691092b28(InfoBox_d612b188a94c8153007da5a80dfeb5e4) if (not InfoBox_d612b188a94c8153007da5a80dfeb5e4) then return; end local __index; for __index = 1, getn(InfoBox_d612b188a94c8153007da5a80dfeb5e4), 1 do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(InfoBox_d612b188a94c8153007da5a80dfeb5e4[__index]); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:Hide(); end end end function InfoBox_228b88956eae44eaa11e2c9323c0aef5(InfoBox_d612b188a94c8153007da5a80dfeb5e4) if (not InfoBox_d612b188a94c8153007da5a80dfeb5e4) then return; end local __index; for __index = 1, getn(InfoBox_d612b188a94c8153007da5a80dfeb5e4), 1 do local InfoBox_411b8aa6d5954c6020f0b9c9e80e847a = getglobal(InfoBox_d612b188a94c8153007da5a80dfeb5e4[__index]); if ( InfoBox_411b8aa6d5954c6020f0b9c9e80e847a ) then InfoBox_411b8aa6d5954c6020f0b9c9e80e847a:Show(); end end end function InfoBox_74f9c91634552381ef709f3c5e3b2349(InfoBox_ac0723394133c458cf0a253e512eae56) CastingBarFrame:ClearAllPoints(); CastingBarFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -5); end function InfoBox_e57b2df7901b2192d71e4a0aa5031207(InfoBox_ac0723394133c458cf0a253e512eae56) CastingBarFrame:ClearAllPoints(); CastingBarFrame:SetPoint("BOTTOM", "UIParent", "BOTTOM", 0, 60); end function InfoBox_fcd1692a7fcb6d66f108ff25d4b3cb82() CastingBarFrame.oldShowStatus = CastingBarFrame:IsVisible(); CastingBarFrame:Hide(); end function InfoBox_d14b5850bc3f43e1bcc70d3f670445a4() if ( CastingBarFrame.oldShowStatus ) then CastingBarFrame:Show(); else CastingBarFrame:Hide(); end CastingBarFrame.oldShowStatus = nil; end function InfoBox_f54c0976ae771afb909bce358aff7dc3(InfoBox_ac0723394133c458cf0a253e512eae56) WatchFrame:ClearAllPoints(); WatchFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -5); end function InfoBox_6a256d2e52ccfab29079e0cbdb6450de(InfoBox_ac0723394133c458cf0a253e512eae56) WatchFrame:ClearAllPoints(); WatchFrame:SetPoint("TOPRIGHT", "MinimapCluster", "BOTTOMRIGHT", 0, 10); end function InfoBox_f3be6e2f4800c82c9c82f4deec8d768c() WatchFrame:Hide(); end function InfoBox_4dd14a4060e260892ae9c7e1da72f470() WatchFrame:Show(); end function InfoBox_42251f4d0d89bfe0a843d6594977a8bb(InfoBox_ac0723394133c458cf0a253e512eae56) DurabilityFrame:ClearAllPoints(); DurabilityFrame:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 45, -5); end function InfoBox_e3e472ce9183dec479ba35f2eb61416c(InfoBox_ac0723394133c458cf0a253e512eae56) DurabilityFrame:ClearAllPoints(); DurabilityFrame:SetPoint("TOPRIGHT", "MinimapCluster", "BOTTOMRIGHT", -40, 15); end function InfoBox_16ffea1c68c349e7aedf9880ec6befa0() DurabilityFrame:Hide(); end function InfoBox_722fde93a53fe7fc03ed892a1871540d() DurabilityFrame:Show(); end function InfoBox_ec59d087fea64edee3a8c1b1a62388c3(InfoBox_ac0723394133c458cf0a253e512eae56) BuffFrame:ClearAllPoints(); BuffFrame:SetPoint("TOPRIGHT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPRIGHT", -10, -5); TemporaryEnchantFrame:ClearAllPoints(); TemporaryEnchantFrame:SetPoint("TOPRIGHT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPRIGHT", -10, -5); end function InfoBox_3b4773f927b1abfd707c03e9fbc16d7c(InfoBox_ac0723394133c458cf0a253e512eae56) BuffFrame:ClearAllPoints(); BuffFrame:SetPoint("TOPRIGHT", "UIParent", "TOPRIGHT", -205, -13); TemporaryEnchantFrame:ClearAllPoints(); TemporaryEnchantFrame:SetPoint("TOPRIGHT", "UIParent", "TOPRIGHT", -175, -13); end function InfoBox_d575d8c413faae3913452de4666550ef() BuffFrame:Hide(); TemporaryEnchantFrame:Hide(); end function InfoBox_be8e313fe92c4b62b4c48c24a210dfc4() BuffFrame:Show(); TemporaryEnchantFrame:Show(); end function InfoBox_c13858da04c9a796a17cd98ccaf65571(InfoBox_ac0723394133c458cf0a253e512eae56) MinimapCluster:ClearAllPoints(); MinimapCluster:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", -5, -5); end function InfoBox_d2c2034665139d14b96290b7f65a1da8(InfoBox_ac0723394133c458cf0a253e512eae56) MinimapCluster:ClearAllPoints(); MinimapCluster:SetPoint("TOPRIGHT", "UIParent", "TOPRIGHT", 0, 0); end function InfoBox_07d12b3dd7a6cee47d7375f0c9e3360c() MinimapCluster:Show(); end function InfoBox_f63ca8dea7f764d3b97a7c5b87ae885c() MinimapCluster:Hide(); end function InfoBoxButtonDropDown_OnLoad(self) BDropDownMenu_Initialize(self, InfoBox_7b5bb9de0755e9aca84ca7f0e5a37607, "MENU"); BDropDownMenu_SetButtonWidth(self, 50); BDropDownMenu_SetWidth(self, 50); end function InfoBox_31c05f50e8bb10b2c363cf8e145cd4f0(InfoBox_ac0723394133c458cf0a253e512eae56) KeyRingButton:ClearAllPoints(); KeyRingButton:SetPoint("TOPLEFT", InfoBox_ac0723394133c458cf0a253e512eae56:GetName(), "TOPLEFT", 5, -5); end function InfoBox_7f6dfe7e2af06d22b0d5a835ef10e0e9(InfoBox_ac0723394133c458cf0a253e512eae56) KeyRingButton:ClearAllPoints(); KeyRingButton:SetPoint("RIGHT", "CharacterBag3Slot", "LEFT", -5, 0); end function InfoBox_4a1e014e7c12e20d978031463acacbdb() KeyRingButton:Show(); end function InfoBox_9e1940e2547a04b3bc18dbc13c824b70() KeyRingButton:Hide(); end function InfoBoxButtonDropDown_OnLoad(self) BDropDownMenu_Initialize(self, InfoBox_7b5bb9de0755e9aca84ca7f0e5a37607, "MENU"); BDropDownMenu_SetButtonWidth(self, 50); BDropDownMenu_SetWidth(self, 50); end function InfoBox_7b5bb9de0755e9aca84ca7f0e5a37607() local InfoBox_8983c60d66c8593ec7165ea9dbedb584 = InfoBox_d9874200955e3902a1232fbcdcc5c0e0(); if ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonNewWindow" ) then InfoBoxButtonMenu_CreateNewWindow(); elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonMoveWindow" ) then elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonLockWindow" ) then elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonHideWindow" ) then InfoBoxButtonMenu_HideWindow(); elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonLoadTheme" ) then InfoBoxButtonMenu_LoadTheme(); elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonSaveTheme" ) then InfoBoxButtonMenu_SaveTheme(); elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonDeleteTheme" ) then InfoBoxButtonMenu_DeleteTheme(); end end function InfoBoxButtonMenu_DeleteTheme() local InfoBox_a44ecbf575d7f2eca081a0592e8d84fa; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_DELETE_THEME; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); local InfoBox_8f773be0b167f642419e61931adbf917 = ModuleSlotManager_GetDeletableThemes(); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_8f773be0b167f642419e61931adbf917) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = InfoBox_946d4b61c4339cbe60494dbd9340783c; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end function InfoBoxButtonMenu_SaveTheme() local InfoBox_a44ecbf575d7f2eca081a0592e8d84fa; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_SAVE_THEME; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_SAVE_NEW_THEME; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.textR = 255; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.textG = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.textB = 255; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = ""; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = InfoBox_de38a1f7dafb52d3175ac3fcebdd87fe; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); if ( ModuleSlotManager_GetDeletableThemeCount() > 0 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); local InfoBox_8f773be0b167f642419e61931adbf917 = ModuleSlotManager_GetDeletableThemes(); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_8f773be0b167f642419e61931adbf917) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = InfoBox_de38a1f7dafb52d3175ac3fcebdd87fe; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end end function InfoBoxButtonMenu_LoadTheme() local InfoBox_a44ecbf575d7f2eca081a0592e8d84fa; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_SELECT_THEME; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); local InfoBox_8f773be0b167f642419e61931adbf917 = ModuleSlotManager_GetDeletableThemes(); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_8f773be0b167f642419e61931adbf917) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = InfoBox_e745f43ed1306833fbf98e1906969a6c; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end function InfoBoxButtonMenu_HideFilter(InfoBox_2361bab8b48b1041ad740bb561b21aee) if ( (InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_91f32deddbb8710fd941b684b1de8e6c == 0 or InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_91f32deddbb8710fd941b684b1de8e6c == 2 or InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_91f32deddbb8710fd941b684b1de8e6c == 1) and InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_bbdc0542fafdb66853ad1551ab96f042 ) then return 1; end end function InfoBoxButtonMenu_HideWindow() local InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; local InfoBox_d83e8de8fbba1504f3f7c10694175b9c = InfoBox_2483c9268979de1b2d24a2e49a088699(0, InfoBoxButtonMenu_HideFilter); if ( InfoBox_d83e8de8fbba1504f3f7c10694175b9c > 0 ) then local InfoBox_e78d229014c7a07be65fde4797b92c86, InfoBox_8e472a6cc9210c695fafcc64d6c32787; for InfoBox_e78d229014c7a07be65fde4797b92c86, InfoBox_8e472a6cc9210c695fafcc64d6c32787 in pairs(InfoBox_0d89cfe87803d80e9d95edf65f1537f6(0, InfoBoxButtonMenu_HideFilter)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_HIDE_WINDOW; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(0, InfoBox_e78d229014c7a07be65fde4797b92c86, InfoBoxButtonMenu_HideFilter)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; if ( InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_91f32deddbb8710fd941b684b1de8e6c == 2 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.checked = 1; end InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.keepShownOnClick = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CommandHide; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end end end function InfoBoxButtonMenu_CreateNewWindow() local InfoBox_a44ecbf575d7f2eca081a0592e8d84fa; if ( BDROPDOWNMENU_MENU_LEVEL == 2 ) then local InfoBox_cbea5024589fda649523e61061c3aec5 = InfoBox_0d89cfe87803d80e9d95edf65f1537f6(0); local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_cbea5024589fda649523e61061c3aec5) do if ( BDROPDOWNMENU_MENU_VALUE == __index ) then for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(0, __index)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CommandModule; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa, BDROPDOWNMENU_MENU_LEVEL); end end end return; end InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_NEW_WINDOW; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.isTitle = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); ModuleSlot_MenuLocation = INFOBOX_MENU_NEW_WINDOW; local InfoBox_d83e8de8fbba1504f3f7c10694175b9c = InfoBox_2483c9268979de1b2d24a2e49a088699(0); if ( InfoBox_d83e8de8fbba1504f3f7c10694175b9c > 0 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_0d89cfe87803d80e9d95edf65f1537f6(0)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.hasArrow = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end local InfoBox_684dfb5c920a3e93463526415af0c738 = InfoBox_4e01ee0e72eb35f8d55d14d7e29168a1(0); if ( InfoBox_684dfb5c920a3e93463526415af0c738 > 0 ) then local __index, InfoBox_2361bab8b48b1041ad740bb561b21aee; for __index, InfoBox_2361bab8b48b1041ad740bb561b21aee in pairs(InfoBox_94fca32adcdf6ba1fbcf7b75cab0253e(0)) do InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = InfoBox_2361bab8b48b1041ad740bb561b21aee.InfoBox_e6955c64cf39bdb23dc86de1a9ec2117; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.value = __index; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.func = ModuleSlot_CreateWindowWithModule; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end end if ( InfoBox_684dfb5c920a3e93463526415af0c738 <= 0 and InfoBox_d83e8de8fbba1504f3f7c10694175b9c <= 0 ) then InfoBox_a44ecbf575d7f2eca081a0592e8d84fa = {}; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.text = INFOBOX_MENU_NO_MODULE; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notClickable = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.notCheckable = 1; InfoBox_a44ecbf575d7f2eca081a0592e8d84fa.disabled = 1; BDropDownMenu_AddButton(InfoBox_a44ecbf575d7f2eca081a0592e8d84fa); end return; end function InfoBoxButton_OnClick(self, button) PlaySound("UChatScrollButton"); if ( button == "LeftButton" ) then if ( self:GetName() == "InfoBoxButtonMoveWindow" ) then if ( MODULESLOT_SHOWALL ) then MODULESLOT_SHOWALL = nil; else MODULESLOT_SHOWALL = 1; end elseif ( self:GetName() == "InfoBoxButtonUnlockWindow" ) then if ( InfoBox_73d709933ab2ea801db334085c1ea448 ) then CHAT_LOCKED = InfoBox_73d709933ab2ea801db334085c1ea448; InfoBox_73d709933ab2ea801db334085c1ea448 = nil; end MODULESLOT_LOCKALL = 1; InfoBoxButtonLockWindow:Show(); InfoBoxButtonUnlockWindow:Hide(); elseif ( self:GetName() == "InfoBoxButtonLockWindow" ) then InfoBox_73d709933ab2ea801db334085c1ea448 = CHAT_LOCKED; CHAT_LOCKED = "0"; MODULESLOT_LOCKALL = nil; InfoBoxButtonUnlockWindow:Show(); InfoBoxButtonLockWindow:Hide(); elseif ( self:GetName() == "InfoBoxButtonResetTheme" ) then InfoBox_62e2cdae2f5ad65f705a7c5b58f2e477(); else BToggleDropDownMenu(1, nil, getglobal(self:GetName().."DropDown"), self:GetName(), 0, -5); end return; end BCloseDropDownMenus(); end function InfoBox_d9874200955e3902a1232fbcdcc5c0e0() return BDropDownMenu_GetCurrentDropDown():GetParent():GetName(); end function InfoBoxButton_OnEnter(self) local InfoBox_8983c60d66c8593ec7165ea9dbedb584 = self:GetName(); local InfoBox_6c162b1123a1eb57c1827271b32b6959; if (InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonNewWindow") then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_NEW_WINDOW; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonMoveWindow" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_MOVE_WINDOW; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonUnlockWindow" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_LOCK_WINDOW; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonLockWindow" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_UNLOCK_WINDOW; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonHideWindow" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_HIDE_WINDOW; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonLoadTheme" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLITP_LOAD_THEME; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonSaveTheme" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_SAVE_THEME; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonDeleteTheme" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_DELETE_THEME; elseif ( InfoBox_8983c60d66c8593ec7165ea9dbedb584 == "InfoBoxButtonResetTheme" ) then InfoBox_6c162b1123a1eb57c1827271b32b6959 = INFOBOX_TOOLTIP_RESET_THEME; end GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT"); GameTooltip:SetText(InfoBox_6c162b1123a1eb57c1827271b32b6959); GameTooltip:Show(); end function InfoBoxButton_OnLeave(self) GameTooltip:Hide(); end 
